Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.577/2.577, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.001513/0.001513, allocations: 176.8 kB / 360.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.038/2.038, allocations: 205.2 MB / 0.6191 GB, free: 12.19 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.001078/0.001077, allocations: 96.97 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.685e-05/2.695e-05, allocations: 4 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7936/0.7937, allocations: 115.3 MB / 0.9634 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.942/6.735, allocations: 2.061 GB / 3.024 GB, free: 57.84 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/6.736, allocations: 86.95 kB / 3.024 GB, free: 57.79 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.395/8.131, allocations: 219.5 MB / 3.239 GB, free: 230.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.412e-06/8.131, allocations: 3.938 kB / 3.239 GB, free: 230.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.221e-05/8.131, allocations: 19.92 kB / 3.239 GB, free: 230.7 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.001344/8.133, allocations: 0.6072 MB / 3.239 GB, free: 230 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/8.133, allocations: 12.03 kB / 3.239 GB, free: 230 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009534/8.134, allocations: 72.86 kB / 3.239 GB, free: 230 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006136/8.134, allocations: 288 kB / 3.24 GB, free: 229.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/8.134, allocations: 11.95 kB / 3.24 GB, free: 229.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.542e-05/8.134, allocations: 12 kB / 3.24 GB, free: 229.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000409/8.135, allocations: 155.9 kB / 3.24 GB, free: 229.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004454/8.135, allocations: 235.2 kB / 3.24 GB, free: 229.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/8.135, allocations: 3.938 kB / 3.24 GB, free: 229.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.933e-05/8.135, allocations: 4 kB / 3.24 GB, free: 229.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/8.135, allocations: 4 kB / 3.24 GB, free: 229.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002541/8.138, allocations: 1.437 MB / 3.241 GB, free: 227.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/8.138, allocations: 137.1 kB / 3.242 GB, free: 227.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/8.138, allocations: 68.34 kB / 3.242 GB, free: 227.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003667/8.139, allocations: 121 kB / 3.242 GB, free: 227.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/8.139, allocations: 38.56 kB / 3.242 GB, free: 227.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 4.008e-06/8.139, allocations: 0 / 3.242 GB, free: 227.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0006431/8.139, allocations: 141.4 kB / 3.242 GB, free: 227 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/8.14, allocations: 154.2 kB / 3.242 GB, free: 226.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/8.14, allocations: 211.9 kB / 3.242 GB, free: 226.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/8.14, allocations: 29.64 kB / 3.242 GB, free: 226.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.64e-05/8.14, allocations: 167.9 kB / 3.242 GB, free: 226.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/8.14, allocations: 35.48 kB / 3.242 GB, free: 226.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.423e-05/8.14, allocations: 0 / 3.242 GB, free: 226.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.916e-05/8.14, allocations: 326.8 kB / 3.243 GB, free: 226.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/8.14, allocations: 56 kB / 3.243 GB, free: 226 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/8.14, allocations: 122.3 kB / 3.243 GB, free: 225.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/8.141, allocations: 92.64 kB / 3.243 GB, free: 225.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/8.141, allocations: 0 / 3.243 GB, free: 225.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006939/8.142, allocations: 213.4 kB / 3.243 GB, free: 225.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/8.142, allocations: 12 kB / 3.243 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/8.142, allocations: 0 / 3.243 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/8.142, allocations: 4 kB / 3.243 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003442/8.142, allocations: 43.91 kB / 3.243 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/8.142, allocations: 7.953 kB / 3.243 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000402/8.142, allocations: 19.89 kB / 3.243 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.713e-05/8.142, allocations: 16 kB / 3.243 GB, free: 225.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 9.41e-05/8.143, allocations: 116.6 kB / 3.243 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005371/8.143, allocations: 141.3 kB / 3.244 GB, free: 225.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/8.143, allocations: 15.81 kB / 3.244 GB, free: 225.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000382/8.144, allocations: 115.7 kB / 3.244 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/8.144, allocations: 3.953 kB / 3.244 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/8.144, allocations: 4 kB / 3.244 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/8.144, allocations: 4.125 kB / 3.244 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/8.145, allocations: 0.793 MB / 3.244 GB, free: 224.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/8.145, allocations: 7.953 kB / 3.244 GB, free: 224.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/8.145, allocations: 28.14 kB / 3.245 GB, free: 224.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/8.145, allocations: 0 / 3.245 GB, free: 224.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/8.145, allocations: 4 kB / 3.245 GB, free: 224.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/8.145, allocations: 0 / 3.245 GB, free: 224.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/8.145, allocations: 7.938 kB / 3.245 GB, free: 224.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006036/8.146, allocations: 356 kB / 3.245 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/8.146, allocations: 116.9 kB / 3.245 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.514e-05/8.146, allocations: 3.953 kB / 3.245 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/8.147, allocations: 16.05 kB / 3.245 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/8.147, allocations: 11.98 kB / 3.245 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/8.147, allocations: 4 kB / 3.245 GB, free: 223.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001884/8.147, allocations: 160.5 kB / 3.245 GB, free: 223.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.41e-07/8.147, allocations: 0 / 3.245 GB, free: 223.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009635/8.148, allocations: 167.7 kB / 3.245 GB, free: 223.2 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.00281/8.151, allocations: 2.309 MB / 3.248 GB, free: 220.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004013/8.151, allocations: 111.8 kB / 3.248 GB, free: 220.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/8.151, allocations: 0 / 3.248 GB, free: 220.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/8.151, allocations: 39.92 kB / 3.248 GB, free: 220.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006762/8.152, allocations: 65.45 kB / 3.248 GB, free: 220.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/8.153, allocations: 431.5 kB / 3.248 GB, free: 220.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/8.154, allocations: 0.7594 MB / 3.249 GB, free: 219.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003104/8.154, allocations: 56.8 kB / 3.249 GB, free: 219.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/8.154, allocations: 67.42 kB / 3.249 GB, free: 219.3 MB / 0.948 GB Notification: Performance of SimCode: time 9.92e-07/8.154, allocations: 0 / 3.249 GB, free: 219.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06014/8.214, allocations: 13.16 MB / 3.262 GB, free: 206.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002741/8.215, allocations: 160.7 kB / 3.262 GB, free: 206 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.084/11.3, allocations: 3.938 kB / 3.262 GB, free: 206 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)