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: translateModel(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy") translateModel(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 111.3 kB / 16.41 MB, free: 6.496 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.001855/0.001855, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.457/1.457, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7763/0.7763, allocations: 122.9 MB / 414.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 62.19 kB / 0.5685 GB, free: 28.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1773, allocations: 77.93 MB / 0.6446 GB, free: 9 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.5594/0.7368, allocations: 163.2 MB / 0.804 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00504/0.7418, allocations: 4.583 MB / 0.8084 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004749/0.7424, allocations: 13.94 kB / 0.8084 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005708/0.7429, allocations: 125.3 kB / 0.8086 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002096/0.7451, allocations: 0.5358 MB / 0.8091 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002986/0.7481, allocations: 0.7729 MB / 0.8098 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007847/0.7489, allocations: 0.5816 MB / 0.8104 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003513/0.7493, allocations: 214.5 kB / 0.8106 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.7505, allocations: 460.5 kB / 0.8111 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000915/0.7514, allocations: 298 kB / 0.8113 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.769e-05/0.7515, allocations: 17.44 kB / 0.8114 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002202/0.7537, allocations: 0.9996 MB / 0.8123 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.7538, allocations: 83.94 kB / 0.8124 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.754, allocations: 134.9 kB / 0.8125 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.7554, allocations: 0.7073 MB / 0.8132 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.7554, allocations: 6.5 kB / 0.8132 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.833e-06/0.7554, allocations: 0 / 0.8132 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.7555, allocations: 0 / 0.8132 GB, free: 11.03 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.001001/0.7565, allocations: 0.6102 MB / 0.8138 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.7565, allocations: 12.12 kB / 0.8138 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000726/0.7573, allocations: 78.88 kB / 0.8139 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004592/0.7577, allocations: 305.8 kB / 0.8142 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.7578, allocations: 19.52 kB / 0.8142 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.359e-05/0.7578, allocations: 21.72 kB / 0.8142 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000498/0.7583, allocations: 282.6 kB / 0.8145 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.7583, allocations: 10.08 kB / 0.8145 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.7584, allocations: 5.875 kB / 0.8145 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.7584, allocations: 6.875 kB / 0.8145 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003942/0.7588, allocations: 208.5 kB / 0.8147 GB, free: 10 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/0.7604, allocations: 1.232 MB / 0.8159 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.7607, allocations: 178.4 kB / 0.8161 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.7609, allocations: 112.2 kB / 0.8162 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007308/0.7616, allocations: 334.1 kB / 0.8165 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.7617, allocations: 40.86 kB / 0.8166 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 2.063e-06/0.7617, allocations: 0 / 0.8166 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0007269/0.7624, allocations: 278.6 kB / 0.8168 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.168e-05/0.7625, allocations: 160.2 kB / 0.817 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.7628, allocations: 287.4 kB / 0.8173 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/0.7628, allocations: 29.08 kB / 0.8173 GB, free: 8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.7629, allocations: 143.6 kB / 0.8174 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.026e-05/0.763, allocations: 53.22 kB / 0.8175 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.202e-05/0.7631, allocations: 40.48 kB / 0.8175 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.7632, allocations: 345.6 kB / 0.8179 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.7634, allocations: 67.19 kB / 0.8179 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.7636, allocations: 146.3 kB / 0.8181 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003596/0.764, allocations: 210.9 kB / 0.8183 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.764, allocations: 3.375 kB / 0.8183 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004934/0.7645, allocations: 244.4 kB / 0.8185 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.7645, allocations: 8.812 kB / 0.8185 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.7645, allocations: 7 kB / 0.8185 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.7645, allocations: 2.875 kB / 0.8185 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.7647, allocations: 38 kB / 0.8185 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.7647, allocations: 2.219 kB / 0.8185 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.7649, allocations: 38.48 kB / 0.8186 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.765, allocations: 9.719 kB / 0.8186 GB, free: 7.012 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.0001313/0.7651, allocations: 151.5 kB / 0.8187 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.7652, allocations: 23.92 kB / 0.8188 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004743/0.7657, allocations: 190.7 kB / 0.8189 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.7657, allocations: 6.438 kB / 0.819 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.7657, allocations: 0 / 0.819 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.7658, allocations: 2.5 kB / 0.819 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009833/0.7667, allocations: 0.8615 MB / 0.8198 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.7668, allocations: 2.594 kB / 0.8198 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.7669, allocations: 22.42 kB / 0.8198 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/0.7669, allocations: 3.938 kB / 0.8198 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.7669, allocations: 2.562 kB / 0.8198 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.7669, allocations: 6.453 kB / 0.8198 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.7669, allocations: 1.844 kB / 0.8198 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005673/0.7675, allocations: 346.4 kB / 0.8202 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.257e-05/0.7676, allocations: 110.5 kB / 0.8203 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.429e-05/0.7677, allocations: 15.88 kB / 0.8203 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.7678, allocations: 4.75 kB / 0.8203 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.7679, allocations: 9.078 kB / 0.8203 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.7679, allocations: 8.844 kB / 0.8203 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002361/0.7681, allocations: 232.5 kB / 0.8205 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7681, allocations: 0 / 0.8205 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005035/0.7687, allocations: 102.8 kB / 0.8206 GB, free: 5.301 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.0005669/0.7692, allocations: 237.2 kB / 0.8209 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004158/0.7697, allocations: 146.5 kB / 0.821 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.7697, allocations: 0 / 0.821 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.7698, allocations: 61.48 kB / 0.821 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000765/0.7706, allocations: 132.5 kB / 0.8212 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009239/0.7715, allocations: 0.5003 MB / 0.8217 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.7719, allocations: 0.7642 MB / 0.8224 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001938/0.7721, allocations: 62.09 kB / 0.8225 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.592e-05/0.7722, allocations: 22.53 kB / 0.8225 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.7722, allocations: 3.938 kB / 0.8225 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of Templates: time 0.009916/0.7821, allocations: 5.833 MB / 0.8282 GB, free: 0.9297 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)