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.689/1.689, allocations: 289.7 MB / 302.2 MB, free: 2.137 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.001689/0.001689, allocations: 174.5 kB / 371.6 MB, free: 3.367 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.798/1.798, allocations: 205.2 MB / 0.6309 GB, free: 11.78 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.001011/0.001011, allocations: 89.66 kB / 0.745 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.657e-05/3.66e-05, allocations: 4 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2903, allocations: 116.3 MB / 0.9799 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.517/6.807, allocations: 2.062 GB / 3.042 GB, free: 180.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/6.808, allocations: 85.22 kB / 3.042 GB, free: 180.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.147/7.955, allocations: 222.5 MB / 3.26 GB, free: 226.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.403e-06/7.955, allocations: 2.625 kB / 3.26 GB, free: 226.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.563e-05/7.955, allocations: 11.48 kB / 3.26 GB, free: 226.1 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.001065/7.956, allocations: 0.6127 MB / 3.26 GB, free: 225.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/7.956, allocations: 13.12 kB / 3.26 GB, free: 225.7 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.444e-05/7.956, allocations: 51.77 kB / 3.26 GB, free: 225.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006169/7.957, allocations: 76.81 kB / 3.261 GB, free: 225.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000395/7.957, allocations: 293.6 kB / 3.261 GB, free: 225.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/7.957, allocations: 16.5 kB / 3.261 GB, free: 225.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.314e-05/7.957, allocations: 19.42 kB / 3.261 GB, free: 225.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003666/7.957, allocations: 264.5 kB / 3.261 GB, free: 225.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/7.957, allocations: 0 / 3.261 GB, free: 225.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/7.957, allocations: 9.969 kB / 3.261 GB, free: 225.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/7.957, allocations: 10.38 kB / 3.261 GB, free: 225.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002478/7.958, allocations: 161.4 kB / 3.261 GB, free: 225.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/7.959, allocations: 1.236 MB / 3.262 GB, free: 224.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/7.959, allocations: 158.8 kB / 3.263 GB, free: 224.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/7.959, allocations: 95.77 kB / 3.263 GB, free: 224.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006012/7.96, allocations: 329.6 kB / 3.263 GB, free: 224 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/7.96, allocations: 36.22 kB / 3.263 GB, free: 224 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/7.96, allocations: 0 / 3.263 GB, free: 224 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0004461/7.96, allocations: 179.2 kB / 3.263 GB, free: 224 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/7.96, allocations: 162.9 kB / 3.263 GB, free: 223.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/7.961, allocations: 249.9 kB / 3.264 GB, free: 223.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/7.961, allocations: 29.14 kB / 3.264 GB, free: 223.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.163e-05/7.961, allocations: 148.6 kB / 3.264 GB, free: 223.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/7.961, allocations: 51.28 kB / 3.264 GB, free: 223.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-06/7.961, allocations: 0 / 3.264 GB, free: 223.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.425e-05/7.961, allocations: 336 kB / 3.264 GB, free: 223.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.465e-05/7.961, allocations: 52.27 kB / 3.264 GB, free: 223.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/7.961, allocations: 144.6 kB / 3.264 GB, free: 223.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/7.961, allocations: 75.53 kB / 3.264 GB, free: 223.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/7.961, allocations: 0 / 3.264 GB, free: 223.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000329/7.962, allocations: 211.4 kB / 3.265 GB, free: 223.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/7.962, allocations: 6.281 kB / 3.265 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/7.962, allocations: 3.531 kB / 3.265 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/7.962, allocations: 6.906 kB / 3.265 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/7.962, allocations: 45.58 kB / 3.265 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/7.962, allocations: 0 / 3.265 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/7.962, allocations: 33.25 kB / 3.265 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/7.962, allocations: 9.625 kB / 3.265 GB, free: 223.1 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 7.613e-05/7.962, allocations: 131.4 kB / 3.265 GB, free: 223 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/7.962, allocations: 32.11 kB / 3.265 GB, free: 222.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003241/7.963, allocations: 150.5 kB / 3.265 GB, free: 222.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/7.963, allocations: 5.844 kB / 3.265 GB, free: 222.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/7.963, allocations: 3.344 kB / 3.265 GB, free: 222.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/7.963, allocations: 3.562 kB / 3.265 GB, free: 222.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006973/7.963, allocations: 0.8145 MB / 3.266 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/7.964, allocations: 0 / 3.266 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/7.964, allocations: 29.11 kB / 3.266 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/7.964, allocations: 0 / 3.266 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/7.964, allocations: 3.312 kB / 3.266 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/7.964, allocations: 10.39 kB / 3.266 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/7.964, allocations: 3.844 kB / 3.266 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003299/7.964, allocations: 359.6 kB / 3.266 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.396e-05/7.964, allocations: 117 kB / 3.266 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/7.964, allocations: 3.125 kB / 3.266 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/7.964, allocations: 20.22 kB / 3.266 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/7.964, allocations: 9.344 kB / 3.266 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/7.964, allocations: 6.438 kB / 3.266 GB, free: 221.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000195/7.965, allocations: 233.1 kB / 3.267 GB, free: 221.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/7.965, allocations: 0 / 3.267 GB, free: 221.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007844/7.965, allocations: 186.3 kB / 3.267 GB, free: 221.8 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.002018/7.967, allocations: 2.159 MB / 3.269 GB, free: 220.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000244/7.968, allocations: 120.9 kB / 3.269 GB, free: 220.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/7.968, allocations: 0 / 3.269 GB, free: 220.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.693e-05/7.968, allocations: 42.58 kB / 3.269 GB, free: 220.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006717/7.968, allocations: 124.5 kB / 3.269 GB, free: 220.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008621/7.969, allocations: 473.3 kB / 3.27 GB, free: 220.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/7.97, allocations: 0.7602 MB / 3.27 GB, free: 219.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001917/7.97, allocations: 60.25 kB / 3.27 GB, free: 219.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/7.97, allocations: 74.91 kB / 3.27 GB, free: 219.6 MB / 0.948 GB Notification: Performance of SimCode: time 2.3e-07/7.97, allocations: 5.469 kB / 3.27 GB, free: 219.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04965/8.02, allocations: 25.94 MB / 3.296 GB, free: 218.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/8.02, allocations: 187 kB / 3.296 GB, free: 217.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.764/10.78, allocations: 3 kB / 3.296 GB, free: 217.9 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)