Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.474/1.474, allocations: 252 MB / 267.6 MB, free: 10.94 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 180.7 kB / 327.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.131/2.131, allocations: 205.4 MB / 0.5783 GB, free: 20.19 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008587/0.0008588, allocations: 94.23 kB / 0.6829 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003463, allocations: 12.69 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2443, allocations: 106.4 MB / 0.9008 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1629/0.4072, allocations: 148.4 MB / 1.046 GB, free: 11.07 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.005411/0.4127, allocations: 4.313 MB / 1.05 GB, free: 6.754 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002854/0.413, allocations: 11.88 kB / 1.05 GB, free: 6.742 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003797/0.4134, allocations: 83.36 kB / 1.05 GB, free: 6.66 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001178/0.4146, allocations: 378.2 kB / 1.05 GB, free: 6.289 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.4161, allocations: 0.5235 MB / 1.051 GB, free: 5.766 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0006983/0.4168, allocations: 0.6781 MB / 1.052 GB, free: 5.086 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002629/0.4171, allocations: 161.2 kB / 1.052 GB, free: 4.93 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007636/0.4178, allocations: 366.5 kB / 1.052 GB, free: 4.57 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000491/0.4183, allocations: 275 kB / 1.052 GB, free: 4.301 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.457e-05/0.4184, allocations: 12 kB / 1.052 GB, free: 4.289 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.4194, allocations: 0.5145 MB / 1.053 GB, free: 3.773 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.33e-05/0.4196, allocations: 83.77 kB / 1.053 GB, free: 3.691 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.576e-05/0.4196, allocations: 73.58 kB / 1.053 GB, free: 3.613 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005428/0.4202, allocations: 403.4 kB / 1.053 GB, free: 3.219 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.4202, allocations: 0 / 1.053 GB, free: 3.219 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.088e-06/0.4202, allocations: 0 / 1.053 GB, free: 3.219 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.4202, allocations: 3.938 kB / 1.053 GB, free: 3.215 MB / 0.698 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.0008572/0.4211, allocations: 0.5413 MB / 1.054 GB, free: 2.625 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.4211, allocations: 12.03 kB / 1.054 GB, free: 2.613 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006476/0.4218, allocations: 79.64 kB / 1.054 GB, free: 2.535 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.4222, allocations: 282.4 kB / 1.054 GB, free: 2.219 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.4222, allocations: 12 kB / 1.054 GB, free: 2.207 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.206e-05/0.4223, allocations: 20 kB / 1.054 GB, free: 2.188 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000514/0.4228, allocations: 299.3 kB / 1.055 GB, free: 1.867 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.4228, allocations: 0 / 1.055 GB, free: 1.867 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.4228, allocations: 4 kB / 1.055 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.4229, allocations: 8 kB / 1.055 GB, free: 1.855 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004383/0.4233, allocations: 219.5 kB / 1.055 GB, free: 1.641 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/0.4249, allocations: 1.246 MB / 1.056 GB, free: 320 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.4252, allocations: 173 kB / 1.056 GB, free: 100 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3692/0.7944, allocations: 119.1 kB / 1.056 GB, free: 157.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007878/0.7952, allocations: 343.7 kB / 1.057 GB, free: 157.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.7953, allocations: 39.11 kB / 1.057 GB, free: 157.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 2.374e-06/0.7953, allocations: 2.469 kB / 1.057 GB, free: 157.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0008342/0.7961, allocations: 295.6 kB / 1.057 GB, free: 157 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.7962, allocations: 163.4 kB / 1.057 GB, free: 156.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002939/0.7965, allocations: 283.1 kB / 1.057 GB, free: 156.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.7965, allocations: 26.64 kB / 1.057 GB, free: 156.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.7966, allocations: 145 kB / 1.058 GB, free: 156.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/0.7967, allocations: 45.41 kB / 1.058 GB, free: 156.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.287e-06/0.7967, allocations: 1.25 kB / 1.058 GB, free: 156.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.487e-05/0.7968, allocations: 343.3 kB / 1.058 GB, free: 156.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.7969, allocations: 67.42 kB / 1.058 GB, free: 156.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.7972, allocations: 150.6 kB / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.7974, allocations: 89.17 kB / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.7974, allocations: 2.719 kB / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005035/0.7979, allocations: 252.3 kB / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.7979, allocations: 5.344 kB / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.7979, allocations: 3.125 kB / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.7979, allocations: 5.859 kB / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.7982, allocations: 39.5 kB / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.7982, allocations: 8.469 kB / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.7984, allocations: 34.97 kB / 1.059 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.7984, allocations: 13.97 kB / 1.059 GB, free: 156.2 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.7986, allocations: 146.8 kB / 1.059 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.7987, allocations: 26.66 kB / 1.059 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004487/0.7992, allocations: 204.7 kB / 1.059 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.7992, allocations: 2.75 kB / 1.059 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.7992, allocations: 0 / 1.059 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.7992, allocations: 6.672 kB / 1.059 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008126/0.8, allocations: 0.8535 MB / 1.06 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.8, allocations: 2.656 kB / 1.06 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.8002, allocations: 26.22 kB / 1.06 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.8002, allocations: 6.547 kB / 1.06 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.8002, allocations: 8.375 kB / 1.06 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.8002, allocations: 3.094 kB / 1.06 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.8002, allocations: 6.938 kB / 1.06 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000545/0.8008, allocations: 349 kB / 1.06 GB, free: 155.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.109e-05/0.8009, allocations: 123.3 kB / 1.06 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.001e-05/0.8009, allocations: 12.7 kB / 1.06 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.8011, allocations: 12.16 kB / 1.06 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.8011, allocations: 16.45 kB / 1.06 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.956e-06/0.8012, allocations: 6.062 kB / 1.06 GB, free: 155 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001884/0.8014, allocations: 231.5 kB / 1.061 GB, free: 154.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8014, allocations: 0 / 1.061 GB, free: 154.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004606/0.8018, allocations: 92.27 kB / 1.061 GB, free: 154.9 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004228/0.8023, allocations: 193.8 kB / 1.061 GB, free: 154.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003822/0.8027, allocations: 159.1 kB / 1.061 GB, free: 154.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.8027, allocations: 0 / 1.061 GB, free: 154.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.8028, allocations: 69.75 kB / 1.061 GB, free: 154.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007286/0.8036, allocations: 122.5 kB / 1.061 GB, free: 154.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007406/0.8043, allocations: 0.6001 MB / 1.062 GB, free: 154.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.8045, allocations: 0.7575 MB / 1.062 GB, free: 153.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.207e-05/0.8046, allocations: 32.59 kB / 1.062 GB, free: 153.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.794e-06/0.8046, allocations: 0 / 1.062 GB, free: 153.7 MB / 0.698 GB Notification: Performance of Templates: time 0.01077/0.8154, allocations: 5.026 MB / 1.067 GB, free: 153.3 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)