Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7153/0.7153, allocations: 127.4 MB / 134.9 MB, free: 3.461 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 170.8 kB / 164.6 MB, free: 11.62 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.2 MB / 399.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008691/0.000869, allocations: 105.3 kB / 476.7 MB, free: 1.535 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.198e-05/3.222e-05, allocations: 5.406 kB / 0.5467 GB, free: 95.43 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1601, allocations: 76.78 MB / 0.6216 GB, free: 43.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.292/5.452, allocations: 2.136 GB / 2.758 GB, free: 188.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/5.452, allocations: 95 kB / 2.758 GB, free: 188.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.4001/5.853, allocations: 219.6 MB / 2.972 GB, free: 32.47 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.493e-06/5.853, allocations: 0 / 2.972 GB, free: 32.47 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.298e-05/5.853, allocations: 7.938 kB / 2.972 GB, free: 32.46 MB / 0.6511 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.001371/5.854, allocations: 0.6111 MB / 2.973 GB, free: 31.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.008e-05/5.854, allocations: 8.031 kB / 2.973 GB, free: 31.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006675/5.855, allocations: 79.59 kB / 2.973 GB, free: 31.72 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004051/5.855, allocations: 294.3 kB / 2.973 GB, free: 31.39 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/5.855, allocations: 11.94 kB / 2.973 GB, free: 31.38 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.66e-05/5.855, allocations: 12 kB / 2.973 GB, free: 31.37 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002575/5.856, allocations: 151.9 kB / 2.973 GB, free: 31.22 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/5.856, allocations: 208 kB / 2.974 GB, free: 31 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/5.856, allocations: 4 kB / 2.974 GB, free: 31 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/5.856, allocations: 3.953 kB / 2.974 GB, free: 30.99 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/5.856, allocations: 7.984 kB / 2.974 GB, free: 30.98 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001553/5.858, allocations: 1.131 MB / 2.975 GB, free: 29.75 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/5.858, allocations: 82.92 kB / 2.975 GB, free: 29.66 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.9e-05/5.858, allocations: 40.78 kB / 2.975 GB, free: 29.61 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002028/5.858, allocations: 113.1 kB / 2.975 GB, free: 29.48 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/5.858, allocations: 34.56 kB / 2.975 GB, free: 29.44 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/5.858, allocations: 0 / 2.975 GB, free: 29.44 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0003284/5.858, allocations: 121.4 kB / 2.975 GB, free: 29.32 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/5.858, allocations: 51.41 kB / 2.975 GB, free: 29.25 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/5.859, allocations: 202 kB / 2.975 GB, free: 29.05 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/5.859, allocations: 29.7 kB / 2.975 GB, free: 29.02 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/5.859, allocations: 160 kB / 2.976 GB, free: 28.86 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/5.859, allocations: 35.55 kB / 2.976 GB, free: 28.82 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.508e-06/5.859, allocations: 0 / 2.976 GB, free: 28.82 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.241e-05/5.859, allocations: 334.8 kB / 2.976 GB, free: 28.48 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.677e-05/5.859, allocations: 47.88 kB / 2.976 GB, free: 28.44 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/5.859, allocations: 114.1 kB / 2.976 GB, free: 28.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/5.859, allocations: 87.86 kB / 2.976 GB, free: 28.21 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/5.859, allocations: 4 kB / 2.976 GB, free: 28.21 MB / 0.6511 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004064/5.86, allocations: 209.2 kB / 2.976 GB, free: 28 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/5.86, allocations: 4.219 kB / 2.976 GB, free: 27.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/5.86, allocations: 8 kB / 2.976 GB, free: 27.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/5.86, allocations: 4 kB / 2.976 GB, free: 27.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/5.86, allocations: 35.92 kB / 2.976 GB, free: 27.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/5.86, allocations: 4 kB / 2.976 GB, free: 27.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/5.86, allocations: 23.83 kB / 2.976 GB, free: 27.92 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/5.86, allocations: 16.06 kB / 2.976 GB, free: 27.9 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 6.712e-05/5.86, allocations: 112.9 kB / 2.977 GB, free: 27.79 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002481/5.86, allocations: 129.4 kB / 2.977 GB, free: 27.65 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.135e-05/5.86, allocations: 15.86 kB / 2.977 GB, free: 27.64 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/5.861, allocations: 139.3 kB / 2.977 GB, free: 27.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/5.861, allocations: 0 / 2.977 GB, free: 27.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/5.861, allocations: 4 kB / 2.977 GB, free: 27.49 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/5.861, allocations: 0 / 2.977 GB, free: 27.49 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004878/5.861, allocations: 486.2 kB / 2.977 GB, free: 26.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/5.861, allocations: 0 / 2.977 GB, free: 26.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/5.861, allocations: 28.05 kB / 2.977 GB, free: 26.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/5.861, allocations: 0 / 2.977 GB, free: 26.93 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/5.861, allocations: 4 kB / 2.977 GB, free: 26.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/5.861, allocations: 0 / 2.977 GB, free: 26.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/5.861, allocations: 11.89 kB / 2.977 GB, free: 26.92 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003494/5.862, allocations: 333.7 kB / 2.978 GB, free: 26.54 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/5.862, allocations: 100.9 kB / 2.978 GB, free: 26.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.125e-05/5.862, allocations: 3.984 kB / 2.978 GB, free: 26.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/5.862, allocations: 8 kB / 2.978 GB, free: 26.41 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/5.862, allocations: 7.984 kB / 2.978 GB, free: 26.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/5.862, allocations: 4 kB / 2.978 GB, free: 26.4 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.648e-05/5.862, allocations: 164.7 kB / 2.978 GB, free: 26.24 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/5.862, allocations: 0 / 2.978 GB, free: 26.24 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006655/5.863, allocations: 167.8 kB / 2.978 GB, free: 26.07 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 9 * 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.002016/5.865, allocations: 2.209 MB / 2.98 GB, free: 23.81 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001934/5.865, allocations: 99.89 kB / 2.98 GB, free: 23.71 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/5.865, allocations: 3.938 kB / 2.98 GB, free: 23.71 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.355e-05/5.865, allocations: 36 kB / 2.98 GB, free: 23.68 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/5.866, allocations: 57.64 kB / 2.98 GB, free: 23.62 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007719/5.866, allocations: 435.3 kB / 2.981 GB, free: 23.14 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/5.867, allocations: 0.7594 MB / 2.982 GB, free: 22.36 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001463/5.867, allocations: 45.78 kB / 2.982 GB, free: 22.32 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.706e-05/5.867, allocations: 67.41 kB / 2.982 GB, free: 22.25 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/5.867, allocations: 0 / 2.982 GB, free: 22.25 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03527/5.902, allocations: 13.14 MB / 2.995 GB, free: 9.148 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/5.902, allocations: 174.9 kB / 2.995 GB, free: 8.953 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.12/8.022, allocations: 0 / 2.995 GB, free: 8.953 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEntropy.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)