Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.638/1.638, allocations: 289.9 MB / 297.4 MB, free: 6.387 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001164/0.001165, allocations: 172.8 kB / 366.7 MB, free: 1.648 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.787/1.787, allocations: 205.3 MB / 0.626 GB, free: 7.164 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008274/0.0008274, allocations: 103.4 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.23e-05/2.233e-05, allocations: 8 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6574/0.6575, allocations: 116.3 MB / 0.9733 GB, free: 76.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.74/5.398, allocations: 2.062 GB / 3.035 GB, free: 22.23 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003329/5.398, allocations: 84.33 kB / 3.035 GB, free: 22.18 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.025/6.423, allocations: 219.5 MB / 3.25 GB, free: 189.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.964e-06/6.423, allocations: 3.938 kB / 3.25 GB, free: 189.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.545e-05/6.423, allocations: 15.94 kB / 3.25 GB, free: 189.8 MB / 0.948 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.001026/6.424, allocations: 0.6073 MB / 3.25 GB, free: 189.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/6.424, allocations: 8.031 kB / 3.25 GB, free: 189.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006371/6.425, allocations: 79.55 kB / 3.25 GB, free: 189 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003575/6.425, allocations: 291.4 kB / 3.251 GB, free: 188.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/6.425, allocations: 8 kB / 3.251 GB, free: 188.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/6.426, allocations: 15.95 kB / 3.251 GB, free: 188.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002412/6.426, allocations: 147.9 kB / 3.251 GB, free: 188.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/6.426, allocations: 235.9 kB / 3.251 GB, free: 188.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/6.426, allocations: 0 / 3.251 GB, free: 188.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/6.426, allocations: 0 / 3.251 GB, free: 188.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/6.426, allocations: 4 kB / 3.251 GB, free: 188.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/6.428, allocations: 1.445 MB / 3.252 GB, free: 186.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/6.428, allocations: 133.1 kB / 3.253 GB, free: 186.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.096e-05/6.428, allocations: 76.34 kB / 3.253 GB, free: 186.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002058/6.428, allocations: 109.1 kB / 3.253 GB, free: 186.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.007e-05/6.428, allocations: 42.55 kB / 3.253 GB, free: 186.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/6.428, allocations: 0 / 3.253 GB, free: 186.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.00043/6.429, allocations: 137.3 kB / 3.253 GB, free: 186.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/6.429, allocations: 158.2 kB / 3.253 GB, free: 185.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/6.429, allocations: 207.9 kB / 3.253 GB, free: 185.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/6.429, allocations: 37.77 kB / 3.253 GB, free: 185.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.47e-05/6.429, allocations: 163.9 kB / 3.253 GB, free: 185.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/6.429, allocations: 31.55 kB / 3.253 GB, free: 185.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-06/6.429, allocations: 0 / 3.253 GB, free: 185.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.604e-05/6.429, allocations: 330.8 kB / 3.254 GB, free: 185.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.808e-05/6.429, allocations: 43.98 kB / 3.254 GB, free: 185.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/6.429, allocations: 147.2 kB / 3.254 GB, free: 184.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/6.429, allocations: 83.92 kB / 3.254 GB, free: 184.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/6.429, allocations: 0 / 3.254 GB, free: 184.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004186/6.43, allocations: 217.2 kB / 3.254 GB, free: 184.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/6.43, allocations: 4 kB / 3.254 GB, free: 184.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/6.43, allocations: 4 kB / 3.254 GB, free: 184.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/6.43, allocations: 0 / 3.254 GB, free: 184.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/6.43, allocations: 44.23 kB / 3.254 GB, free: 184.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/6.43, allocations: 11.92 kB / 3.254 GB, free: 184.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/6.43, allocations: 27.78 kB / 3.254 GB, free: 184.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/6.43, allocations: 12 kB / 3.254 GB, free: 184.5 MB / 0.948 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 () * 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 8.311e-05/6.431, allocations: 105 kB / 3.254 GB, free: 184.4 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003198/6.431, allocations: 137.4 kB / 3.255 GB, free: 184.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/6.431, allocations: 15.81 kB / 3.255 GB, free: 184.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002322/6.431, allocations: 131.4 kB / 3.255 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/6.431, allocations: 7.953 kB / 3.255 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/6.431, allocations: 0 / 3.255 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/6.431, allocations: 3.938 kB / 3.255 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006837/6.432, allocations: 0.7854 MB / 3.256 GB, free: 183.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/6.432, allocations: 0 / 3.256 GB, free: 183.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/6.432, allocations: 27.94 kB / 3.256 GB, free: 183.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/6.432, allocations: 4 kB / 3.256 GB, free: 183.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/6.432, allocations: 3.984 kB / 3.256 GB, free: 183.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/6.432, allocations: 7.938 kB / 3.256 GB, free: 183.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/6.432, allocations: 0 / 3.256 GB, free: 183.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003616/6.433, allocations: 360.2 kB / 3.256 GB, free: 182.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.76e-05/6.433, allocations: 108.9 kB / 3.256 GB, free: 182.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/6.433, allocations: 4 kB / 3.256 GB, free: 182.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/6.433, allocations: 15.94 kB / 3.256 GB, free: 182.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/6.433, allocations: 12.05 kB / 3.256 GB, free: 182.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/6.433, allocations: 8 kB / 3.256 GB, free: 182.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001009/6.433, allocations: 160.5 kB / 3.256 GB, free: 182.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/6.433, allocations: 0 / 3.256 GB, free: 182.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006769/6.434, allocations: 175.7 kB / 3.256 GB, free: 182.3 MB / 0.948 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 () * 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.001905/6.436, allocations: 2.309 MB / 3.259 GB, free: 180 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002092/6.436, allocations: 103.8 kB / 3.259 GB, free: 179.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/6.436, allocations: 0.5 kB / 3.259 GB, free: 179.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.77e-05/6.436, allocations: 47.94 kB / 3.259 GB, free: 179.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/6.436, allocations: 56.56 kB / 3.259 GB, free: 179.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007955/6.437, allocations: 432.2 kB / 3.259 GB, free: 179.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001663/6.437, allocations: 0.7672 MB / 3.26 GB, free: 178.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001521/6.438, allocations: 53.88 kB / 3.26 GB, free: 178.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.781e-05/6.438, allocations: 71.41 kB / 3.26 GB, free: 178.4 MB / 0.948 GB Notification: Performance of SimCode: time 3.2e-07/6.438, allocations: 0 / 3.26 GB, free: 178.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04873/6.486, allocations: 13.16 MB / 3.273 GB, free: 165.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002644/6.487, allocations: 166.2 kB / 3.273 GB, free: 165.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.262/8.749, allocations: 7.219 kB / 3.273 GB, free: 165.1 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)