Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.conf.json 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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001452/0.001454, allocations: 186.7 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.6853/0.6853, allocations: 82.93 MB / 99.42 MB, free: 3.34 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.074/2.074, allocations: 205.4 MB / 325.4 MB, free: 3.547 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 94.62 kB / 393.6 MB, free: 15.32 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004628/0.000463, allocations: 16 kB / 471.5 MB, free: 66.63 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08765/0.08815, allocations: 67.45 MB / 0.5263 GB, free: 15.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.5565/0.6447, allocations: 137 MB / 0.6601 GB, free: 1.578 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006316/0.651, allocations: 3.574 MB / 0.6636 GB, free: 14.75 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002848/0.6514, allocations: 9.594 kB / 0.6636 GB, free: 14.74 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006157/0.652, allocations: 154.8 kB / 0.6637 GB, free: 14.61 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001254/0.6533, allocations: 365 kB / 0.6641 GB, free: 14.32 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002151/0.6555, allocations: 0.5749 MB / 0.6646 GB, free: 13.9 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006563/0.6561, allocations: 341.5 kB / 0.665 GB, free: 13.68 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003661/0.6565, allocations: 167.1 kB / 0.6651 GB, free: 13.59 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009036/0.6574, allocations: 326.8 kB / 0.6654 GB, free: 13.38 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000557/0.658, allocations: 220.5 kB / 0.6657 GB, free: 13.25 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.844e-05/0.6581, allocations: 10.34 kB / 0.6657 GB, free: 13.25 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001724/0.6598, allocations: 440.3 kB / 0.6661 GB, free: 13.05 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.66, allocations: 74.7 kB / 0.6662 GB, free: 13.01 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.6602, allocations: 68.89 kB / 0.6662 GB, free: 12.96 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.6613, allocations: 349.8 kB / 0.6666 GB, free: 12.76 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.6614, allocations: 0 / 0.6666 GB, free: 12.76 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.83e-06/0.6614, allocations: 4 kB / 0.6666 GB, free: 12.75 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.916e-06/0.6614, allocations: 0 / 0.6666 GB, free: 12.75 MB / 458.7 MB 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.001549/0.663, allocations: 0.5388 MB / 0.6671 GB, free: 12.25 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.663, allocations: 10.31 kB / 0.6671 GB, free: 12.25 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/0.6644, allocations: 77.52 kB / 0.6672 GB, free: 12.21 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007154/0.6651, allocations: 272.8 kB / 0.6674 GB, free: 11.95 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.313e-05/0.6652, allocations: 15.19 kB / 0.6674 GB, free: 11.94 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.653e-05/0.6653, allocations: 25.09 kB / 0.6675 GB, free: 11.93 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.6664, allocations: 290.6 kB / 0.6677 GB, free: 11.72 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.6664, allocations: 4 kB / 0.6677 GB, free: 11.72 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-05/0.6665, allocations: 10.83 kB / 0.6678 GB, free: 11.71 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.6665, allocations: 2.906 kB / 0.6678 GB, free: 11.71 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009577/0.6675, allocations: 218.1 kB / 0.668 GB, free: 11.61 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003242/0.6708, allocations: 1.267 MB / 0.6692 GB, free: 10.46 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006172/0.6714, allocations: 200.6 kB / 0.6694 GB, free: 10.28 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006961/0.6721, allocations: 137 kB / 0.6695 GB, free: 10.16 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.699e-05/0.6722, allocations: 44.72 kB / 0.6696 GB, free: 10.11 MB / 458.7 MB Notification: Performance of pre-optimization done (n=13): time 5.344e-06/0.6723, allocations: 0 / 0.6696 GB, free: 10.11 MB / 458.7 MB Notification: Performance of matching and sorting (n=13): time 0.001574/0.6738, allocations: 325.8 kB / 0.6699 GB, free: 9.945 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.674, allocations: 161.2 kB / 0.67 GB, free: 9.754 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003872/0.6744, allocations: 281.9 kB / 0.6703 GB, free: 9.57 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/0.6744, allocations: 29.7 kB / 0.6703 GB, free: 9.535 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.6746, allocations: 148.5 kB / 0.6705 GB, free: 9.398 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.006e-05/0.6747, allocations: 48.62 kB / 0.6705 GB, free: 9.355 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.383e-05/0.6747, allocations: 2.906 kB / 0.6705 GB, free: 9.355 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.6749, allocations: 344 kB / 0.6708 GB, free: 9.016 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/0.6751, allocations: 79.91 kB / 0.6709 GB, free: 8.98 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000324/0.6755, allocations: 165 kB / 0.6711 GB, free: 8.848 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002815/0.6758, allocations: 103.5 kB / 0.6712 GB, free: 8.797 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.724e-06/0.6758, allocations: 0 / 0.6712 GB, free: 8.797 MB / 458.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007553/0.6765, allocations: 273.6 kB / 0.6714 GB, free: 8.652 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.6766, allocations: 7.031 kB / 0.6714 GB, free: 8.652 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.318e-06/0.6766, allocations: 2.812 kB / 0.6715 GB, free: 8.652 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.6766, allocations: 2.875 kB / 0.6715 GB, free: 8.652 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.6769, allocations: 45.62 kB / 0.6715 GB, free: 8.641 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.931e-06/0.6769, allocations: 2.531 kB / 0.6715 GB, free: 8.641 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003203/0.6772, allocations: 32.42 kB / 0.6715 GB, free: 8.621 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.305e-05/0.6773, allocations: 14.92 kB / 0.6715 GB, free: 8.617 MB / 458.7 MB 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.0002161/0.6775, allocations: 155.4 kB / 0.6717 GB, free: 8.473 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002238/0.6778, allocations: 25.91 kB / 0.6717 GB, free: 8.457 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007319/0.6785, allocations: 227.2 kB / 0.6719 GB, free: 8.312 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.6785, allocations: 2.812 kB / 0.6719 GB, free: 8.312 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.495e-06/0.6786, allocations: 2.906 kB / 0.6719 GB, free: 8.312 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.448e-06/0.6786, allocations: 4 kB / 0.6719 GB, free: 8.309 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001571/0.6801, allocations: 0.9276 MB / 0.6728 GB, free: 7.465 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.683e-06/0.6802, allocations: 2.844 kB / 0.6729 GB, free: 7.465 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.6804, allocations: 35.34 kB / 0.6729 GB, free: 7.453 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.949e-06/0.6804, allocations: 0 / 0.6729 GB, free: 7.453 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.6805, allocations: 4.219 kB / 0.6729 GB, free: 7.453 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.479e-06/0.6805, allocations: 6.375 kB / 0.6729 GB, free: 7.453 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.888e-06/0.6805, allocations: 0 / 0.6729 GB, free: 7.453 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009826/0.6815, allocations: 0.4911 MB / 0.6734 GB, free: 7.043 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.6816, allocations: 115.9 kB / 0.6735 GB, free: 6.922 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.39e-05/0.6817, allocations: 6.375 kB / 0.6735 GB, free: 6.918 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002389/0.682, allocations: 12.3 kB / 0.6735 GB, free: 6.914 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.996e-05/0.682, allocations: 11.42 kB / 0.6735 GB, free: 6.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.899e-05/0.6821, allocations: 12.95 kB / 0.6735 GB, free: 6.902 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002951/0.6824, allocations: 219.7 kB / 0.6737 GB, free: 6.754 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.02e-07/0.6824, allocations: 0 / 0.6737 GB, free: 6.754 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005858/0.683, allocations: 95.5 kB / 0.6738 GB, free: 6.734 MB / 458.7 MB 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 (12): * Single equations (assignments): 12 * 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.00053/0.6835, allocations: 194.9 kB / 0.674 GB, free: 6.602 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000569/0.6841, allocations: 193.9 kB / 0.6742 GB, free: 6.516 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.164e-06/0.6841, allocations: 0 / 0.6742 GB, free: 6.516 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002526/0.6844, allocations: 89.16 kB / 0.6743 GB, free: 6.477 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008861/0.6853, allocations: 134.4 kB / 0.6744 GB, free: 6.41 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.6865, allocations: 0.5794 MB / 0.675 GB, free: 5.953 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004642/0.687, allocations: 0.7679 MB / 0.6757 GB, free: 5.207 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003334/0.6873, allocations: 73.08 kB / 0.6758 GB, free: 5.176 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.065e-05/0.6874, allocations: 23.34 kB / 0.6758 GB, free: 5.168 MB / 458.7 MB Notification: Performance of SimCode: time 1.697e-06/0.6874, allocations: 0 / 0.6758 GB, free: 5.168 MB / 458.7 MB Notification: Performance of Templates: time 0.01418/0.7016, allocations: 5.473 MB / 0.6812 GB, free: 0.5195 MB / 458.7 MB