Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.255/2.255, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001426/0.001425, allocations: 183.5 kB / 325.8 MB, free: 2.801 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.87/2.87, allocations: 205.4 MB / 0.5767 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00094/0.0009395, allocations: 96.92 kB / 0.6812 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006681/0.0006684, allocations: 12.31 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2595, allocations: 106.3 MB / 0.899 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.2723/0.5319, allocations: 148.4 MB / 1.044 GB, free: 12.67 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008304/0.5402, allocations: 4.314 MB / 1.048 GB, free: 8.348 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003277/0.5406, allocations: 7.938 kB / 1.048 GB, free: 8.34 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005068/0.5411, allocations: 83.36 kB / 1.048 GB, free: 8.258 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001574/0.5427, allocations: 378.2 kB / 1.049 GB, free: 7.887 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002284/0.545, allocations: 0.5302 MB / 1.049 GB, free: 7.359 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001234/0.5463, allocations: 0.6859 MB / 1.05 GB, free: 6.672 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000432/0.5467, allocations: 173.2 kB / 1.05 GB, free: 6.504 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001212/0.548, allocations: 362.5 kB / 1.05 GB, free: 6.148 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007382/0.5487, allocations: 279 kB / 1.051 GB, free: 5.875 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.446e-05/0.5488, allocations: 8 kB / 1.051 GB, free: 5.867 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001889/0.5507, allocations: 0.5145 MB / 1.051 GB, free: 5.352 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.5509, allocations: 83.77 kB / 1.051 GB, free: 5.27 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.551, allocations: 69.58 kB / 1.051 GB, free: 5.195 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009176/0.552, allocations: 403.4 kB / 1.052 GB, free: 4.801 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.552, allocations: 0 / 1.052 GB, free: 4.801 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.934e-06/0.552, allocations: 4 kB / 1.052 GB, free: 4.797 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.552, allocations: 0 / 1.052 GB, free: 4.797 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.001134/0.5532, allocations: 0.5465 MB / 1.052 GB, free: 4.203 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.5532, allocations: 19.95 kB / 1.052 GB, free: 4.184 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009805/0.5542, allocations: 71.59 kB / 1.052 GB, free: 4.113 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005438/0.5548, allocations: 282.4 kB / 1.052 GB, free: 3.797 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.5548, allocations: 12 kB / 1.052 GB, free: 3.785 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.537e-05/0.5549, allocations: 20 kB / 1.053 GB, free: 3.766 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007637/0.5557, allocations: 291.2 kB / 1.053 GB, free: 3.453 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.5557, allocations: 0 / 1.053 GB, free: 3.453 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.119e-05/0.5558, allocations: 11.94 kB / 1.053 GB, free: 3.441 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.5558, allocations: 11.94 kB / 1.053 GB, free: 3.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007501/0.5565, allocations: 211.8 kB / 1.053 GB, free: 3.223 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002777/0.5593, allocations: 1.238 MB / 1.054 GB, free: 1.902 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000477/0.5599, allocations: 185 kB / 1.054 GB, free: 1.676 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004315/0.5603, allocations: 128.4 kB / 1.055 GB, free: 1.535 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001284/0.5616, allocations: 343.2 kB / 1.055 GB, free: 1.145 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/0.5617, allocations: 38.56 kB / 1.055 GB, free: 1.098 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 4.218e-06/0.5617, allocations: 4 kB / 1.055 GB, free: 1.094 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.001282/0.563, allocations: 289.6 kB / 1.055 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.349e-05/0.5631, allocations: 166.2 kB / 1.055 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004372/0.5636, allocations: 275 kB / 1.056 GB, free: 336 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/0.5636, allocations: 33.64 kB / 1.056 GB, free: 296 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.5638, allocations: 147.8 kB / 1.056 GB, free: 144 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.112e-05/0.5638, allocations: 39.39 kB / 1.056 GB, free: 104 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.088e-05/0.5639, allocations: 8 kB / 1.056 GB, free: 96 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.6253/1.189, allocations: 334.6 kB / 1.056 GB, free: 158.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003943/1.19, allocations: 68.75 kB / 1.056 GB, free: 158.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000416/1.19, allocations: 146.7 kB / 1.056 GB, free: 158.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000336/1.19, allocations: 87.62 kB / 1.056 GB, free: 158.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/1.19, allocations: 1.031 kB / 1.056 GB, free: 158.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009396/1.191, allocations: 253.8 kB / 1.057 GB, free: 158.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/1.191, allocations: 5.906 kB / 1.057 GB, free: 158.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/1.191, allocations: 3.219 kB / 1.057 GB, free: 158.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.944e-05/1.191, allocations: 4.359 kB / 1.057 GB, free: 158.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003593/1.192, allocations: 39.69 kB / 1.057 GB, free: 158.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/1.192, allocations: 4.438 kB / 1.057 GB, free: 158.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003384/1.192, allocations: 39.11 kB / 1.057 GB, free: 158.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.487e-05/1.192, allocations: 9.844 kB / 1.057 GB, free: 158.3 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.0001926/1.192, allocations: 153.2 kB / 1.057 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001859/1.193, allocations: 22.97 kB / 1.057 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000729/1.193, allocations: 203.1 kB / 1.057 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/1.193, allocations: 0 / 1.057 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/1.193, allocations: 6.859 kB / 1.057 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/1.193, allocations: 4.547 kB / 1.057 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/1.195, allocations: 0.8674 MB / 1.058 GB, free: 157.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/1.195, allocations: 0 / 1.058 GB, free: 157.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/1.195, allocations: 23.36 kB / 1.058 GB, free: 157.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/1.195, allocations: 5.594 kB / 1.058 GB, free: 157.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/1.195, allocations: 2.969 kB / 1.058 GB, free: 157.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/1.195, allocations: 2.969 kB / 1.058 GB, free: 157.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.195, allocations: 0 / 1.058 GB, free: 157.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007952/1.196, allocations: 364.1 kB / 1.058 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/1.196, allocations: 115.3 kB / 1.058 GB, free: 157.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.885e-05/1.196, allocations: 7.594 kB / 1.058 GB, free: 157.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/1.196, allocations: 11.08 kB / 1.058 GB, free: 157.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.818e-05/1.196, allocations: 15.39 kB / 1.058 GB, free: 157.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/1.196, allocations: 2.406 kB / 1.058 GB, free: 157.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000293/1.197, allocations: 231.8 kB / 1.059 GB, free: 157.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.197, allocations: 0 / 1.059 GB, free: 157.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005867/1.197, allocations: 96.33 kB / 1.059 GB, free: 157.1 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.0005838/1.198, allocations: 214.3 kB / 1.059 GB, free: 157 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006011/1.198, allocations: 158.9 kB / 1.059 GB, free: 157 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.199, allocations: 0 / 1.059 GB, free: 157 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002368/1.199, allocations: 62.61 kB / 1.059 GB, free: 157 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/1.2, allocations: 129.9 kB / 1.059 GB, free: 157 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/1.201, allocations: 0.5698 MB / 1.06 GB, free: 156.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/1.201, allocations: 0.7519 MB / 1.061 GB, free: 156 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003246/1.202, allocations: 66.05 kB / 1.061 GB, free: 156 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/1.202, allocations: 26.69 kB / 1.061 GB, free: 156 MB / 0.698 GB Notification: Performance of SimCode: time 1.784e-06/1.202, allocations: 3.938 kB / 1.061 GB, free: 156 MB / 0.698 GB Notification: Performance of Templates: time 0.01635/1.218, allocations: 5.218 MB / 1.066 GB, free: 155.6 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)