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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6982/0.6982, allocations: 128.7 MB / 144.5 MB, free: 1.375 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 187.9 kB / 174.2 MB, free: 5.938 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205 MB / 408.9 MB, free: 9.727 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000941/0.0009409, allocations: 103.3 kB / 485.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000968/0.000968, allocations: 57.58 kB / 0.558 GB, free: 97.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1183, allocations: 75.47 MB / 0.6317 GB, free: 33.05 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.4548/0.5732, allocations: 170.4 MB / 0.7981 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.005488/0.5787, allocations: 4.685 MB / 0.8027 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000502/0.5793, allocations: 7.75 kB / 0.8027 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004978/0.5798, allocations: 101.8 kB / 0.8028 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001233/0.5811, allocations: 0.5119 MB / 0.8033 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001624/0.5827, allocations: 0.6777 MB / 0.804 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0009469/0.5837, allocations: 0.8845 MB / 0.8048 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002895/0.584, allocations: 185.8 kB / 0.805 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009246/0.5849, allocations: 442.9 kB / 0.8054 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005735/0.5855, allocations: 304.5 kB / 0.8057 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.5855, allocations: 12.53 kB / 0.8057 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001837/0.5874, allocations: 1.157 MB / 0.8069 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.5875, allocations: 89.25 kB / 0.8069 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.5877, allocations: 116.2 kB / 0.807 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.00125/0.5889, allocations: 0.7726 MB / 0.8078 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5889, allocations: 0 / 0.8078 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.002e-06/0.589, allocations: 1.281 kB / 0.8078 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.589, allocations: 0 / 0.8078 GB, free: 10.43 MB / 0.5261 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.0009147/0.5899, allocations: 0.5861 MB / 0.8084 GB, free: 9.93 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.5899, allocations: 9.094 kB / 0.8084 GB, free: 9.93 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006152/0.5906, allocations: 73.2 kB / 0.8085 GB, free: 9.898 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004395/0.591, allocations: 286.2 kB / 0.8087 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.591, allocations: 14.78 kB / 0.8087 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.579e-05/0.5911, allocations: 15.97 kB / 0.8088 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004613/0.5916, allocations: 264.2 kB / 0.809 GB, free: 9.531 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.5916, allocations: 0 / 0.809 GB, free: 9.531 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.5916, allocations: 8.969 kB / 0.809 GB, free: 9.531 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.5916, allocations: 4.312 kB / 0.809 GB, free: 9.531 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003918/0.592, allocations: 212.8 kB / 0.8092 GB, free: 9.48 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.5933, allocations: 0.9308 MB / 0.8101 GB, free: 8.828 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.5936, allocations: 117 kB / 0.8102 GB, free: 8.777 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.5937, allocations: 84.08 kB / 0.8103 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006619/0.5944, allocations: 328.3 kB / 0.8106 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.5944, allocations: 37.31 kB / 0.8107 GB, free: 8.398 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.5944, allocations: 0 / 0.8107 GB, free: 8.398 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12): time 0.0005969/0.595, allocations: 249.4 kB / 0.8109 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.5951, allocations: 62.73 kB / 0.811 GB, free: 8.242 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.5953, allocations: 276.5 kB / 0.8112 GB, free: 8.109 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.5953, allocations: 28.83 kB / 0.8113 GB, free: 8.078 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.352e-05/0.5954, allocations: 143.8 kB / 0.8114 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.5955, allocations: 48.78 kB / 0.8114 GB, free: 7.941 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.314e-05/0.5956, allocations: 43.64 kB / 0.8115 GB, free: 7.918 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.893e-05/0.5957, allocations: 334 kB / 0.8118 GB, free: 7.598 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.5958, allocations: 68.33 kB / 0.8119 GB, free: 7.582 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.596, allocations: 132.8 kB / 0.812 GB, free: 7.496 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/0.5964, allocations: 200.7 kB / 0.8122 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.5964, allocations: 0 / 0.8122 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004615/0.5968, allocations: 245.7 kB / 0.8124 GB, free: 7.305 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.5969, allocations: 7.625 kB / 0.8124 GB, free: 7.305 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.5969, allocations: 0 / 0.8124 GB, free: 7.305 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.5969, allocations: 6.547 kB / 0.8124 GB, free: 7.301 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.5971, allocations: 35.83 kB / 0.8125 GB, free: 7.293 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.5971, allocations: 4.688 kB / 0.8125 GB, free: 7.293 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.5973, allocations: 32.45 kB / 0.8125 GB, free: 7.273 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.5973, allocations: 9.875 kB / 0.8125 GB, free: 7.273 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 17 * 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.0001108/0.5974, allocations: 146.7 kB / 0.8127 GB, free: 7.148 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.67e-05/0.5975, allocations: 24.38 kB / 0.8127 GB, free: 7.137 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004592/0.5979, allocations: 210.3 kB / 0.8129 GB, free: 7.031 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.598, allocations: 3.594 kB / 0.8129 GB, free: 7.031 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.598, allocations: 3.938 kB / 0.8129 GB, free: 7.027 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.598, allocations: 3.984 kB / 0.8129 GB, free: 7.023 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000614/0.5986, allocations: 0.531 MB / 0.8134 GB, free: 6.609 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5986, allocations: 1.812 kB / 0.8134 GB, free: 6.609 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.5987, allocations: 24.61 kB / 0.8134 GB, free: 6.605 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.5987, allocations: 0 / 0.8134 GB, free: 6.605 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.5988, allocations: 2.719 kB / 0.8134 GB, free: 6.605 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.5988, allocations: 6.344 kB / 0.8134 GB, free: 6.602 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.5988, allocations: 6.781 kB / 0.8134 GB, free: 6.598 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003867/0.6026, allocations: 1.872 MB / 0.8153 GB, free: 5.262 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-05/0.6027, allocations: 100.1 kB / 0.8154 GB, free: 5.152 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.6028, allocations: 10.39 kB / 0.8154 GB, free: 5.148 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.6029, allocations: 6.094 kB / 0.8154 GB, free: 5.148 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.603, allocations: 9.016 kB / 0.8154 GB, free: 5.145 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.603, allocations: 13.91 kB / 0.8154 GB, free: 5.137 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001927/0.6032, allocations: 231.8 kB / 0.8156 GB, free: 5.027 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.553e-06/0.6032, allocations: 0 / 0.8156 GB, free: 5.027 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005692/0.6038, allocations: 127.5 kB / 0.8158 GB, free: 5.008 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 9 * 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.0004697/0.6042, allocations: 226.3 kB / 0.816 GB, free: 4.871 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003456/0.6046, allocations: 141 kB / 0.8161 GB, free: 4.836 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.6046, allocations: 0 / 0.8161 GB, free: 4.836 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.6047, allocations: 58.62 kB / 0.8162 GB, free: 4.824 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007499/0.6055, allocations: 130.9 kB / 0.8163 GB, free: 4.781 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007747/0.6063, allocations: 0.6615 MB / 0.8169 GB, free: 4.277 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.6066, allocations: 0.756 MB / 0.8177 GB, free: 3.551 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000187/0.6068, allocations: 64.2 kB / 0.8177 GB, free: 3.52 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.991e-05/0.6068, allocations: 27.89 kB / 0.8178 GB, free: 3.504 MB / 0.5261 GB Notification: Performance of SimCode: time 2.61e-07/0.6068, allocations: 0 / 0.8178 GB, free: 3.504 MB / 0.5261 GB Notification: Performance of Templates: time 0.01031/0.6171, allocations: 5.64 MB / 0.8233 GB, free: 0.6914 MB / 0.5261 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)