Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.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 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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.559/4.559, allocations: 0.5623 GB / 0.5769 GB, free: 3.383 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002354/0.002354, allocations: 351.5 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.876/3.876, allocations: 410.7 MB / 1.112 GB, free: 5.949 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001755/0.001755, allocations: 191.9 kB / 1.225 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004931/0.0004934, allocations: 16 kB / 1.348 GB, free: 8.188 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.569/0.5695, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1409/0.7105, allocations: 147.4 MB / 1.605 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004827/0.7153, allocations: 3.902 MB / 1.609 GB, free: 133 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002349/0.7156, allocations: 7.938 kB / 1.609 GB, free: 133 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004908/0.7161, allocations: 143.1 kB / 1.609 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0009886/0.7171, allocations: 401.8 kB / 1.609 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001611/0.7187, allocations: 0.5559 MB / 1.61 GB, free: 131.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0005967/0.7194, allocations: 0.682 MB / 1.61 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002765/0.7196, allocations: 157.5 kB / 1.61 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006672/0.7203, allocations: 334.5 kB / 1.611 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004912/0.7208, allocations: 267 kB / 1.611 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.059e-05/0.7209, allocations: 12 kB / 1.611 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008706/0.7218, allocations: 399 kB / 1.611 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.958e-05/0.7219, allocations: 75.78 kB / 1.611 GB, free: 130 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.63e-05/0.722, allocations: 73.52 kB / 1.611 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004522/0.7224, allocations: 351.2 kB / 1.612 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.005e-06/0.7225, allocations: 3.938 kB / 1.612 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.875e-06/0.7225, allocations: 0 / 1.612 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.153e-06/0.7225, allocations: 4 kB / 1.612 GB, free: 129.6 MB / 0.8542 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.0007242/0.7232, allocations: 0.5412 MB / 1.612 GB, free: 129 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.7233, allocations: 11.62 kB / 1.612 GB, free: 129 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000767/0.7241, allocations: 79.64 kB / 1.612 GB, free: 128.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.7244, allocations: 271.5 kB / 1.613 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.7245, allocations: 16 kB / 1.613 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.695e-05/0.7245, allocations: 20 kB / 1.613 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005149/0.7251, allocations: 288.9 kB / 1.613 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.7251, allocations: 7.984 kB / 1.613 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.779e-05/0.7251, allocations: 8 kB / 1.613 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.7252, allocations: 4 kB / 1.613 GB, free: 128.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005032/0.7257, allocations: 211.7 kB / 1.613 GB, free: 128 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.7273, allocations: 1.251 MB / 1.614 GB, free: 126.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.7276, allocations: 188.9 kB / 1.615 GB, free: 126.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002306/0.7278, allocations: 120.2 kB / 1.615 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007712/0.7286, allocations: 343.7 kB / 1.615 GB, free: 126 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.7287, allocations: 46.69 kB / 1.615 GB, free: 125.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 2.394e-06/0.7287, allocations: 0 / 1.615 GB, free: 125.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0008959/0.7296, allocations: 293.5 kB / 1.615 GB, free: 125.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.7296, allocations: 166.2 kB / 1.616 GB, free: 125.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/0.7299, allocations: 275 kB / 1.616 GB, free: 125.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.73, allocations: 33.7 kB / 1.616 GB, free: 125.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.149e-05/0.7301, allocations: 143.9 kB / 1.616 GB, free: 125 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/0.7301, allocations: 47.34 kB / 1.616 GB, free: 124.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.281e-05/0.7302, allocations: 0 / 1.616 GB, free: 124.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.863e-05/0.7302, allocations: 346.8 kB / 1.616 GB, free: 124.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.7304, allocations: 71.94 kB / 1.616 GB, free: 124.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002608/0.7307, allocations: 152.5 kB / 1.617 GB, free: 124.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002236/0.731, allocations: 87.95 kB / 1.617 GB, free: 124.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.364e-06/0.731, allocations: 0 / 1.617 GB, free: 124.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006093/0.7316, allocations: 261.2 kB / 1.617 GB, free: 124 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.7316, allocations: 8 kB / 1.617 GB, free: 124 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.229e-06/0.7316, allocations: 0 / 1.617 GB, free: 124 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.7317, allocations: 4 kB / 1.617 GB, free: 124 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.7319, allocations: 42.27 kB / 1.617 GB, free: 123.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.683e-06/0.7319, allocations: 4 kB / 1.617 GB, free: 123.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002479/0.7322, allocations: 39.8 kB / 1.617 GB, free: 123.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/0.7322, allocations: 15.98 kB / 1.617 GB, free: 123.9 MB / 0.8542 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.0001357/0.7324, allocations: 145.8 kB / 1.617 GB, free: 123.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/0.7326, allocations: 27.67 kB / 1.617 GB, free: 123.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000539/0.7331, allocations: 204.5 kB / 1.617 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.749e-06/0.7332, allocations: 0 / 1.617 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.064e-06/0.7332, allocations: 8 kB / 1.617 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.108e-06/0.7332, allocations: 0 / 1.617 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.7342, allocations: 0.8627 MB / 1.618 GB, free: 122.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.721e-06/0.7343, allocations: 0 / 1.618 GB, free: 122.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.7344, allocations: 31.92 kB / 1.618 GB, free: 122.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.963e-06/0.7344, allocations: 4 kB / 1.618 GB, free: 122.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.7345, allocations: 0 / 1.618 GB, free: 122.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.7345, allocations: 4 kB / 1.618 GB, free: 122.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.456e-06/0.7345, allocations: 0 / 1.618 GB, free: 122.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006166/0.7351, allocations: 359.5 kB / 1.619 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.7352, allocations: 124.7 kB / 1.619 GB, free: 122 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.907e-05/0.7353, allocations: 4.125 kB / 1.619 GB, free: 121.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.7355, allocations: 12.05 kB / 1.619 GB, free: 121.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.7356, allocations: 19.92 kB / 1.619 GB, free: 121.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.927e-06/0.7356, allocations: 4 kB / 1.619 GB, free: 121.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002478/0.7359, allocations: 233.9 kB / 1.619 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.684e-06/0.7359, allocations: 0 / 1.619 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005429/0.7364, allocations: 95.88 kB / 1.619 GB, free: 121.6 MB / 0.8542 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.0004558/0.7369, allocations: 213.5 kB / 1.619 GB, free: 121.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004545/0.7374, allocations: 156.1 kB / 1.619 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.041e-06/0.7374, allocations: 4.188 kB / 1.619 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.7376, allocations: 63.84 kB / 1.62 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009042/0.7385, allocations: 123.8 kB / 1.62 GB, free: 121.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008366/0.7394, allocations: 0.5678 MB / 1.62 GB, free: 120.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.7396, allocations: 0.7638 MB / 1.621 GB, free: 119.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002563/0.7399, allocations: 63.19 kB / 1.621 GB, free: 119.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.444e-05/0.7399, allocations: 23.44 kB / 1.621 GB, free: 119.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.563e-06/0.7399, allocations: 4 kB / 1.621 GB, free: 119.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.01163/0.7516, allocations: 5.286 MB / 1.626 GB, free: 114.4 MB / 0.8542 GB