Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IBPSA_latest_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.001565/0.001566, allocations: 99.78 kB / 16.4 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 188 kB / 17.34 MB, free: 5.734 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7658/0.7658, allocations: 122.9 MB / 414.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 73.52 kB / 0.568 GB, free: 28.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1385, allocations: 77.94 MB / 0.6441 GB, free: 9.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.5016/0.6402, allocations: 163.2 MB / 0.8035 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004722/0.6449, allocations: 4.587 MB / 0.8079 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005139/0.6455, allocations: 8.719 kB / 0.808 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000505/0.646, allocations: 126 kB / 0.8081 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001359/0.6474, allocations: 0.558 MB / 0.8086 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001642/0.6491, allocations: 0.7823 MB / 0.8094 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005902/0.6497, allocations: 0.573 MB / 0.8099 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000342/0.65, allocations: 223.4 kB / 0.8102 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009611/0.651, allocations: 474.3 kB / 0.8106 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004789/0.6515, allocations: 297.7 kB / 0.8109 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.033e-05/0.6515, allocations: 17.03 kB / 0.8109 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.6529, allocations: 1.011 MB / 0.8119 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 8.944e-05/0.653, allocations: 85.94 kB / 0.812 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.6531, allocations: 125.1 kB / 0.8121 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009238/0.6541, allocations: 0.7141 MB / 0.8128 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.6541, allocations: 0 / 0.8128 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.955e-06/0.6541, allocations: 0 / 0.8128 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.6541, allocations: 7.938 kB / 0.8128 GB, free: 10.35 MB / 0.5919 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.0008705/0.655, allocations: 0.5985 MB / 0.8134 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.655, allocations: 10.78 kB / 0.8134 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.187e-05/0.6551, allocations: 52.7 kB / 0.8134 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006429/0.6557, allocations: 78.88 kB / 0.8135 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/0.6561, allocations: 305.2 kB / 0.8138 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.6562, allocations: 20.89 kB / 0.8138 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.269e-05/0.6562, allocations: 22.81 kB / 0.8139 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004506/0.6567, allocations: 285.4 kB / 0.8141 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.6567, allocations: 3.938 kB / 0.8141 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.6567, allocations: 6.125 kB / 0.8141 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.455e-06/0.6567, allocations: 9.625 kB / 0.8141 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003785/0.6571, allocations: 201.8 kB / 0.8143 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/0.6587, allocations: 1.244 MB / 0.8155 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/0.659, allocations: 174.5 kB / 0.8157 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.6592, allocations: 110.1 kB / 0.8158 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008307/0.6601, allocations: 338.1 kB / 0.8161 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.6601, allocations: 36.78 kB / 0.8162 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.6601, allocations: 2.562 kB / 0.8162 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0007553/0.6609, allocations: 279.3 kB / 0.8164 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.87e-05/0.661, allocations: 161.1 kB / 0.8166 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.6612, allocations: 287.1 kB / 0.8169 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.6613, allocations: 31.3 kB / 0.8169 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.55e-05/0.6614, allocations: 144 kB / 0.817 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.6614, allocations: 49.38 kB / 0.8171 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.07e-05/0.6615, allocations: 42.64 kB / 0.8171 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.6616, allocations: 341.1 kB / 0.8175 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.6618, allocations: 67.91 kB / 0.8175 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.662, allocations: 155.3 kB / 0.8177 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000338/0.6624, allocations: 206.2 kB / 0.8179 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6624, allocations: 0 / 0.8179 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004656/0.6628, allocations: 250.4 kB / 0.8181 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.6629, allocations: 5.031 kB / 0.8181 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.6629, allocations: 2.781 kB / 0.8181 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.6629, allocations: 4.344 kB / 0.8181 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.6631, allocations: 40.06 kB / 0.8182 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.6631, allocations: 2.75 kB / 0.8182 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.6633, allocations: 32.98 kB / 0.8182 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.6633, allocations: 16.97 kB / 0.8182 GB, free: 6.445 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.0001314/0.6635, allocations: 150.4 kB / 0.8183 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.6636, allocations: 28.48 kB / 0.8184 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004289/0.6641, allocations: 190.7 kB / 0.8186 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.6641, allocations: 7.188 kB / 0.8186 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.6641, allocations: 2.75 kB / 0.8186 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.6641, allocations: 0 / 0.8186 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008994/0.665, allocations: 0.8585 MB / 0.8194 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.665, allocations: 0 / 0.8194 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.6651, allocations: 24.83 kB / 0.8194 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.6651, allocations: 6.344 kB / 0.8194 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.6652, allocations: 6.125 kB / 0.8194 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.6652, allocations: 3.781 kB / 0.8194 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.592e-06/0.6652, allocations: 0 / 0.8194 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005092/0.6657, allocations: 345.5 kB / 0.8198 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.6658, allocations: 114.5 kB / 0.8199 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/0.6659, allocations: 7.844 kB / 0.8199 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.666, allocations: 6.031 kB / 0.8199 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.6661, allocations: 9.453 kB / 0.8199 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.6661, allocations: 5.594 kB / 0.8199 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001967/0.6663, allocations: 237.5 kB / 0.8201 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6663, allocations: 0 / 0.8201 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004533/0.6667, allocations: 108.1 kB / 0.8202 GB, free: 4.941 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.001116/0.6679, allocations: 0.9871 MB / 0.8212 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003825/0.6683, allocations: 150.7 kB / 0.8213 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6683, allocations: 3.938 kB / 0.8214 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.6684, allocations: 60.5 kB / 0.8214 GB, free: 4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007474/0.6692, allocations: 151.7 kB / 0.8216 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003111/0.6723, allocations: 2.759 MB / 0.8242 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.6726, allocations: 0.7625 MB / 0.825 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001868/0.6728, allocations: 62.17 kB / 0.8251 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.6729, allocations: 78.03 kB / 0.8251 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of SimCode: time 4e-07/0.6729, allocations: 0 / 0.8251 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/0.6979, allocations: 8.61 MB / 0.8335 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.747/8.445, allocations: 3.938 kB / 0.8335 GB, free: 12.62 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.sim & python3 -m fmpy simulate --output-file IBPSA_latest_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 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)