Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002626/0.002626, allocations: 192.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9684/0.9684, allocations: 143 MB / 433.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 68.14 kB / 0.5143 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1801, allocations: 82.04 MB / 0.5944 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.4197/0.5998, allocations: 163.3 MB / 0.7538 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005629/0.6055, allocations: 4.579 MB / 0.7583 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003539/0.6059, allocations: 11.88 kB / 0.7583 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004136/0.6063, allocations: 131 kB / 0.7584 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001264/0.6076, allocations: 0.5289 MB / 0.7589 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.6094, allocations: 0.7711 MB / 0.7597 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006725/0.6101, allocations: 0.5769 MB / 0.7603 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003457/0.6104, allocations: 217 kB / 0.7605 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009445/0.6114, allocations: 466.3 kB / 0.7609 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005421/0.6119, allocations: 282.9 kB / 0.7612 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.089e-05/0.612, allocations: 23.92 kB / 0.7612 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001665/0.6137, allocations: 0.9938 MB / 0.7622 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.6138, allocations: 95.7 kB / 0.7623 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.6139, allocations: 119.4 kB / 0.7624 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009735/0.6149, allocations: 0.7286 MB / 0.7631 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.6149, allocations: 4 kB / 0.7631 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6149, allocations: 0 / 0.7631 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.6149, allocations: 0 / 0.7631 GB, free: 0.5078 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008813/0.6158, allocations: 0.5918 MB / 0.7637 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.6159, allocations: 8.031 kB / 0.7637 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.106e-05/0.6159, allocations: 55.05 kB / 0.7637 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006537/0.6166, allocations: 79.5 kB / 0.7638 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.6169, allocations: 287.3 kB / 0.7641 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.617, allocations: 20.69 kB / 0.7641 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.375e-05/0.617, allocations: 16 kB / 0.7641 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004776/0.6175, allocations: 276.6 kB / 0.7644 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.6175, allocations: 7.938 kB / 0.7644 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.6176, allocations: 8 kB / 0.7644 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.6176, allocations: 7.938 kB / 0.7644 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004235/0.618, allocations: 202.3 kB / 0.7646 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.6195, allocations: 1.249 MB / 0.7658 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/0.6198, allocations: 177 kB / 0.766 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.62, allocations: 112.2 kB / 0.7661 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007323/0.6207, allocations: 335.3 kB / 0.7664 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.6208, allocations: 36.75 kB / 0.7664 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.804e-06/0.6208, allocations: 4 kB / 0.7664 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0007843/0.6216, allocations: 277.1 kB / 0.7667 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.886e-05/0.6217, allocations: 158.2 kB / 0.7669 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/0.6219, allocations: 283.5 kB / 0.7671 GB, free: 12 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.622, allocations: 37.7 kB / 0.7672 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.6221, allocations: 147.8 kB / 0.7673 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.6221, allocations: 47.72 kB / 0.7674 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.34e-05/0.6222, allocations: 41.7 kB / 0.7674 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.6223, allocations: 338.8 kB / 0.7677 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.6225, allocations: 67.94 kB / 0.7678 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.6228, allocations: 153 kB / 0.7679 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003806/0.6232, allocations: 208.1 kB / 0.7681 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.6232, allocations: 0 / 0.7681 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005223/0.6237, allocations: 245.1 kB / 0.7684 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.6237, allocations: 4 kB / 0.7684 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.6237, allocations: 4.547 kB / 0.7684 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.6238, allocations: 4 kB / 0.7684 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.624, allocations: 39.92 kB / 0.7684 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.624, allocations: 7.984 kB / 0.7684 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.6242, allocations: 31.94 kB / 0.7685 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.6242, allocations: 19.92 kB / 0.7685 GB, free: 10.54 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001524/0.6244, allocations: 146.4 kB / 0.7686 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.6245, allocations: 23.72 kB / 0.7686 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005017/0.6251, allocations: 189.9 kB / 0.7688 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.6251, allocations: 4 kB / 0.7688 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6251, allocations: 0 / 0.7688 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.6251, allocations: 4 kB / 0.7688 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.6261, allocations: 0.854 MB / 0.7697 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.6261, allocations: 4 kB / 0.7697 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.6262, allocations: 23.98 kB / 0.7697 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.6263, allocations: 8.094 kB / 0.7697 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.6263, allocations: 7.938 kB / 0.7697 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.6263, allocations: 7.938 kB / 0.7697 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.6263, allocations: 0 / 0.7697 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005629/0.6269, allocations: 335.4 kB / 0.77 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.732e-05/0.627, allocations: 116.7 kB / 0.7701 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.627, allocations: 7.984 kB / 0.7701 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.6272, allocations: 8 kB / 0.7702 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.6272, allocations: 12.05 kB / 0.7702 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.6273, allocations: 8 kB / 0.7702 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002472/0.6275, allocations: 233.9 kB / 0.7704 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.725e-06/0.6275, allocations: 0 / 0.7704 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004802/0.628, allocations: 95.92 kB / 0.7705 GB, free: 8.332 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001309/0.6293, allocations: 0.9942 MB / 0.7715 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004298/0.6298, allocations: 153.6 kB / 0.7716 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.6298, allocations: 8 kB / 0.7716 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.6299, allocations: 61.91 kB / 0.7717 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007392/0.6307, allocations: 131.9 kB / 0.7718 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003364/0.6341, allocations: 2.786 MB / 0.7745 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.6344, allocations: 0.7558 MB / 0.7753 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002167/0.6346, allocations: 70.84 kB / 0.7753 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.6347, allocations: 75.41 kB / 0.7754 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.6347, allocations: 0 / 0.7754 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02859/0.6633, allocations: 8.611 MB / 0.7838 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.667/8.33, allocations: 5.625 kB / 0.7838 GB, free: 10.69 MB / 0.6075 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEntropy.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)