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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.454/1.454, allocations: 251.9 MB / 266.8 MB, free: 11.04 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.001255/0.001256, allocations: 183.3 kB / 326.5 MB, free: 2.281 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.026/2.026, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.001205/0.001205, allocations: 96.22 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.000352, allocations: 9.875 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2931, allocations: 106.3 MB / 0.9002 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.805/7.098, allocations: 2.18 GB / 3.08 GB, free: 248.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/7.098, allocations: 88.05 kB / 3.08 GB, free: 248.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.4179/7.516, allocations: 215.9 MB / 3.291 GB, free: 129.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.462e-06/7.516, allocations: 0 / 3.291 GB, free: 129.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.234e-05/7.516, allocations: 4 kB / 3.291 GB, free: 129.6 MB / 0.8855 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.001256/7.518, allocations: 0.6428 MB / 3.291 GB, free: 128.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/7.518, allocations: 12.03 kB / 3.291 GB, free: 128.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.129e-05/7.518, allocations: 50.55 kB / 3.292 GB, free: 128.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006669/7.518, allocations: 79.59 kB / 3.292 GB, free: 128.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004674/7.519, allocations: 286.4 kB / 3.292 GB, free: 128.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/7.519, allocations: 16 kB / 3.292 GB, free: 128.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.101e-05/7.519, allocations: 23.94 kB / 3.292 GB, free: 128.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004397/7.519, allocations: 271.5 kB / 3.292 GB, free: 128.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/7.519, allocations: 3.938 kB / 3.292 GB, free: 128.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/7.52, allocations: 12 kB / 3.292 GB, free: 128.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/7.52, allocations: 7.938 kB / 3.292 GB, free: 128.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003757/7.52, allocations: 199.8 kB / 3.292 GB, free: 127.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/7.521, allocations: 1.237 MB / 3.294 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002846/7.522, allocations: 177 kB / 3.294 GB, free: 126.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006765/7.522, allocations: 319.2 kB / 3.294 GB, free: 126 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/7.522, allocations: 46.67 kB / 3.294 GB, free: 126 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=13): time 2.996e-06/7.522, allocations: 0 / 3.294 GB, free: 126 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13): time 0.0007534/7.523, allocations: 273.5 kB / 3.294 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.764e-05/7.523, allocations: 166.2 kB / 3.295 GB, free: 125.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/7.524, allocations: 246.2 kB / 3.295 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/7.524, allocations: 33.83 kB / 3.295 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/7.524, allocations: 155.7 kB / 3.295 GB, free: 125 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.864e-05/7.524, allocations: 39.36 kB / 3.295 GB, free: 125 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.197e-05/7.524, allocations: 8 kB / 3.295 GB, free: 125 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001588/7.524, allocations: 334.8 kB / 3.295 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/7.524, allocations: 67.94 kB / 3.295 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/7.524, allocations: 144.9 kB / 3.296 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/7.524, allocations: 99.86 kB / 3.296 GB, free: 124.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/7.524, allocations: 0 / 3.296 GB, free: 124.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004488/7.525, allocations: 249.1 kB / 3.296 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/7.525, allocations: 8 kB / 3.296 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/7.525, allocations: 0 / 3.296 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/7.525, allocations: 4 kB / 3.296 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/7.525, allocations: 48.16 kB / 3.296 GB, free: 124 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/7.525, allocations: 4 kB / 3.296 GB, free: 124 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/7.525, allocations: 35.67 kB / 3.296 GB, free: 124 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.826e-05/7.526, allocations: 12 kB / 3.296 GB, free: 124 MB / 0.8855 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.0001511/7.526, allocations: 149.8 kB / 3.296 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/7.526, allocations: 28.05 kB / 3.296 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004595/7.526, allocations: 189.9 kB / 3.296 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/7.526, allocations: 7.938 kB / 3.296 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/7.526, allocations: 0 / 3.296 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/7.526, allocations: 4 kB / 3.296 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009208/7.527, allocations: 0.8626 MB / 3.297 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/7.527, allocations: 0 / 3.297 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/7.527, allocations: 27.92 kB / 3.297 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/7.527, allocations: 4 kB / 3.297 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/7.527, allocations: 0 / 3.297 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/7.527, allocations: 4 kB / 3.297 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/7.527, allocations: 0 / 3.297 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005539/7.528, allocations: 408.1 kB / 3.298 GB, free: 122.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/7.528, allocations: 120.8 kB / 3.298 GB, free: 122 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/7.528, allocations: 4.062 kB / 3.298 GB, free: 122 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/7.528, allocations: 15.98 kB / 3.298 GB, free: 122 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.631e-05/7.528, allocations: 15.92 kB / 3.298 GB, free: 122 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/7.528, allocations: 4 kB / 3.298 GB, free: 122 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002037/7.529, allocations: 230 kB / 3.298 GB, free: 121.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1e-07/7.529, allocations: 3.938 kB / 3.298 GB, free: 121.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001095/7.53, allocations: 183.9 kB / 3.298 GB, free: 121.5 MB / 0.8855 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.002974/7.533, allocations: 2.221 MB / 3.3 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004612/7.533, allocations: 147.8 kB / 3.3 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/7.533, allocations: 0.5 kB / 3.3 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/7.533, allocations: 63.84 kB / 3.301 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007438/7.534, allocations: 122.7 kB / 3.301 GB, free: 119 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002776/7.537, allocations: 2.755 MB / 3.303 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/7.537, allocations: 0.756 MB / 3.304 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000233/7.537, allocations: 62.25 kB / 3.304 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/7.538, allocations: 67.42 kB / 3.304 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of SimCode: time 5.049e-06/7.538, allocations: 0 / 3.304 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03963/7.577, allocations: 23.12 MB / 3.327 GB, free: 92.21 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/7.577, allocations: 230.2 kB / 3.327 GB, free: 91.97 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.784/10.36, allocations: 0 / 3.327 GB, free: 91.97 MB / 0.8855 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)