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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009389/0.0009391, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.007167/0.007167, allocations: 170.3 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.76/1.76, allocations: 205.4 MB / 222.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.588/1.588, allocations: 252 MB / 0.5105 GB, free: 4.66 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006219/0.0006221, allocations: 16 kB / 0.6249 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6306/0.6313, allocations: 106.3 MB / 0.7287 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.2017/0.833, allocations: 159 MB / 0.884 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.009464/0.8426, allocations: 4.618 MB / 0.8885 GB, free: 7.043 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004093/0.8431, allocations: 7.938 kB / 0.8885 GB, free: 7.035 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005912/0.8437, allocations: 91.36 kB / 0.8886 GB, free: 6.945 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002323/0.846, allocations: 0.5136 MB / 0.8891 GB, free: 6.43 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003046/0.8491, allocations: 0.698 MB / 0.8898 GB, free: 5.73 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001403/0.8505, allocations: 0.8108 MB / 0.8906 GB, free: 4.918 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004673/0.851, allocations: 173.5 kB / 0.8908 GB, free: 4.75 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001559/0.8526, allocations: 414.4 kB / 0.8912 GB, free: 4.344 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009005/0.8535, allocations: 298.8 kB / 0.8914 GB, free: 4.051 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 4.122e-05/0.8535, allocations: 12 kB / 0.8914 GB, free: 4.039 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003323/0.8569, allocations: 1.161 MB / 0.8926 GB, free: 2.875 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001866/0.8571, allocations: 79.78 kB / 0.8927 GB, free: 2.797 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.000255/0.8574, allocations: 137.1 kB / 0.8928 GB, free: 2.656 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002183/0.8595, allocations: 0.7635 MB / 0.8935 GB, free: 1.891 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-05/0.8596, allocations: 4 kB / 0.8935 GB, free: 1.887 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.946e-06/0.8596, allocations: 0 / 0.8935 GB, free: 1.887 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.8596, allocations: 0 / 0.8935 GB, free: 1.887 MB / 0.7012 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.001463/0.8611, allocations: 0.5529 MB / 0.8941 GB, free: 1.285 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.938e-05/0.8612, allocations: 12.03 kB / 0.8941 GB, free: 1.273 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/0.8624, allocations: 71.59 kB / 0.8942 GB, free: 1.203 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007061/0.8631, allocations: 286.4 kB / 0.8944 GB, free: 0.8828 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.376e-05/0.8632, allocations: 12 kB / 0.8944 GB, free: 0.8711 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.889e-05/0.8633, allocations: 20 kB / 0.8945 GB, free: 0.8516 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008781/0.8642, allocations: 291.5 kB / 0.8947 GB, free: 0.5391 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.8642, allocations: 0 / 0.8947 GB, free: 0.5391 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.734e-05/0.8643, allocations: 8 kB / 0.8947 GB, free: 0.5312 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.8643, allocations: 11.94 kB / 0.8948 GB, free: 0.5195 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008146/0.8651, allocations: 223.5 kB / 0.895 GB, free: 308 kB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002633/0.8678, allocations: 1.242 MB / 0.8962 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005159/0.8683, allocations: 181 kB / 0.8964 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000373/0.8687, allocations: 120.2 kB / 0.8965 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001316/0.8701, allocations: 339.2 kB / 0.8968 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.596e-05/0.8701, allocations: 50.67 kB / 0.8968 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 4.038e-06/0.8701, allocations: 0 / 0.8968 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.001532/0.8717, allocations: 289.4 kB / 0.8971 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001402/0.8718, allocations: 166.2 kB / 0.8973 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005691/0.8724, allocations: 279 kB / 0.8975 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.832e-05/0.8725, allocations: 29.7 kB / 0.8976 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.8727, allocations: 144.1 kB / 0.8977 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.764e-05/0.8728, allocations: 51.42 kB / 0.8978 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.457e-05/0.8729, allocations: 21.7 kB / 0.8978 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000231/0.8731, allocations: 338.8 kB / 0.8981 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/0.8735, allocations: 71.89 kB / 0.8982 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004615/0.8739, allocations: 149.5 kB / 0.8983 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007332/0.8747, allocations: 231.4 kB / 0.8985 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.8747, allocations: 0 / 0.8985 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001005/0.8757, allocations: 249.3 kB / 0.8988 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.8758, allocations: 8.062 kB / 0.8988 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.8758, allocations: 4 kB / 0.8988 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.932e-05/0.8758, allocations: 4 kB / 0.8988 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/0.8762, allocations: 43.91 kB / 0.8988 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.8762, allocations: 0 / 0.8988 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004183/0.8766, allocations: 39.67 kB / 0.8989 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.809e-05/0.8767, allocations: 11.94 kB / 0.8989 GB, free: 11.96 MB / 0.7169 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.0002912/0.877, allocations: 153.8 kB / 0.899 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003022/0.8773, allocations: 23.72 kB / 0.899 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000963/0.8783, allocations: 201.8 kB / 0.8992 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.8783, allocations: 0 / 0.8992 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.701e-05/0.8784, allocations: 4 kB / 0.8992 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.8784, allocations: 3.984 kB / 0.8992 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002142/0.8805, allocations: 0.8627 MB / 0.9001 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.8806, allocations: 3.938 kB / 0.9001 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.8808, allocations: 31.97 kB / 0.9001 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.409e-05/0.8809, allocations: 7.938 kB / 0.9001 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.8809, allocations: 128 / 0.9001 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/0.8809, allocations: 8 kB / 0.9001 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.8809, allocations: 0 / 0.9001 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.882, allocations: 359.4 kB / 0.9005 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002547/0.8823, allocations: 124.8 kB / 0.9006 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.797e-05/0.8824, allocations: 4 kB / 0.9006 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003/0.8827, allocations: 8 kB / 0.9006 GB, free: 10.03 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.667e-05/0.8828, allocations: 16.05 kB / 0.9006 GB, free: 10.01 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.8828, allocations: 8 kB / 0.9006 GB, free: 10 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004418/0.8833, allocations: 229.9 kB / 0.9009 GB, free: 9.781 MB / 0.7169 GB Notification: Performance of sort global known variables: time 5.11e-07/0.8833, allocations: 0 / 0.9009 GB, free: 9.781 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000991/0.8843, allocations: 95.92 kB / 0.9009 GB, free: 9.688 MB / 0.7169 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.001047/0.8854, allocations: 211.9 kB / 0.9011 GB, free: 9.48 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007853/0.8862, allocations: 168 kB / 0.9013 GB, free: 9.316 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.8862, allocations: 0 / 0.9013 GB, free: 9.316 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000283/0.8865, allocations: 63.91 kB / 0.9014 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/0.8882, allocations: 136.2 kB / 0.9015 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.8899, allocations: 0.5733 MB / 0.9021 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00057/0.8905, allocations: 0.7638 MB / 0.9028 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0004249/0.8909, allocations: 66.91 kB / 0.9029 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.186e-05/0.891, allocations: 23.44 kB / 0.9029 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of SimCode: time 1.143e-06/0.891, allocations: 0 / 0.9029 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of Templates: time 0.02211/0.9132, allocations: 5.485 MB / 0.9082 GB, free: 2.207 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: