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.7837/0.7837, allocations: 128.7 MB / 143.7 MB, free: 2.324 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.0012/0.001201, allocations: 190.7 kB / 173.7 MB, free: 6.109 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.932/1.932, allocations: 205.4 MB / 409 MB, free: 10.49 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.001033/0.001033, allocations: 95.53 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003493, allocations: 9.938 kB / 0.5604 GB, free: 97.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1689, allocations: 76.78 MB / 0.6354 GB, free: 30.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.483/5.652, allocations: 2.137 GB / 2.772 GB, free: 239.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003855/5.652, allocations: 94.17 kB / 2.772 GB, free: 239.9 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.4315/6.084, allocations: 222.9 MB / 2.99 GB, free: 19.74 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.883e-06/6.084, allocations: 0 / 2.99 GB, free: 19.74 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.38e-05/6.084, allocations: 11.98 kB / 2.99 GB, free: 19.73 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.001455/6.085, allocations: 0.6319 MB / 2.991 GB, free: 19.05 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/6.085, allocations: 12.03 kB / 2.991 GB, free: 19.04 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.587e-05/6.085, allocations: 54.5 kB / 2.991 GB, free: 18.97 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006747/6.086, allocations: 75.59 kB / 2.991 GB, free: 18.9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005027/6.087, allocations: 294.4 kB / 2.991 GB, free: 18.57 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/6.087, allocations: 15.98 kB / 2.991 GB, free: 18.55 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.127e-05/6.087, allocations: 24 kB / 2.991 GB, free: 18.53 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004425/6.087, allocations: 248.1 kB / 2.991 GB, free: 18.27 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/6.087, allocations: 0 / 2.991 GB, free: 18.27 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/6.087, allocations: 11.95 kB / 2.991 GB, free: 18.26 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/6.087, allocations: 4 kB / 2.991 GB, free: 18.26 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003774/6.088, allocations: 207.6 kB / 2.992 GB, free: 18.05 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/6.089, allocations: 0.9167 MB / 2.992 GB, free: 17.07 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/6.089, allocations: 106.5 kB / 2.993 GB, free: 16.96 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005817/6.09, allocations: 323.2 kB / 2.993 GB, free: 16.59 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/6.09, allocations: 42.55 kB / 2.993 GB, free: 16.54 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=12): time 2.054e-06/6.09, allocations: 0 / 2.993 GB, free: 16.54 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12): time 0.0006337/6.09, allocations: 265.4 kB / 2.993 GB, free: 16.27 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/6.09, allocations: 51.41 kB / 2.993 GB, free: 16.21 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/6.091, allocations: 249.9 kB / 2.993 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/6.091, allocations: 29.7 kB / 2.994 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.303e-05/6.091, allocations: 148.1 kB / 2.994 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/6.091, allocations: 39.45 kB / 2.994 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.226e-06/6.091, allocations: 0 / 2.994 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.846e-05/6.091, allocations: 342.8 kB / 2.994 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/6.091, allocations: 67.95 kB / 2.994 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/6.091, allocations: 145.5 kB / 2.994 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/6.091, allocations: 79.95 kB / 2.994 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/6.091, allocations: 4 kB / 2.994 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004354/6.092, allocations: 241.1 kB / 2.995 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/6.092, allocations: 8 kB / 2.995 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/6.092, allocations: 4.219 kB / 2.995 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/6.092, allocations: 4 kB / 2.995 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/6.092, allocations: 31.98 kB / 2.995 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/6.092, allocations: 19.86 kB / 2.995 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/6.092, allocations: 35.67 kB / 2.995 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.55e-05/6.092, allocations: 12 kB / 2.995 GB, free: 14.71 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 () * Number of clocked 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 0.0001294/6.092, allocations: 149.6 kB / 2.995 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.712e-05/6.093, allocations: 23.72 kB / 2.995 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004344/6.093, allocations: 214.1 kB / 2.995 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/6.093, allocations: 0 / 2.995 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/6.093, allocations: 7.938 kB / 2.995 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/6.093, allocations: 0 / 2.995 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005639/6.094, allocations: 0.5366 MB / 2.996 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/6.094, allocations: 4 kB / 2.996 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/6.094, allocations: 23.92 kB / 2.996 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/6.094, allocations: 4 kB / 2.996 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/6.094, allocations: 0 / 2.996 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/6.094, allocations: 4 kB / 2.996 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/6.094, allocations: 0 / 2.996 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004646/6.094, allocations: 382.5 kB / 2.996 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.05e-05/6.094, allocations: 104.8 kB / 2.996 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/6.094, allocations: 11.98 kB / 2.996 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/6.095, allocations: 16.05 kB / 2.996 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/6.095, allocations: 7.938 kB / 2.996 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/6.095, allocations: 4 kB / 2.996 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001771/6.095, allocations: 229.9 kB / 2.996 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.1e-07/6.095, allocations: 0 / 2.996 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007672/6.096, allocations: 187.9 kB / 2.996 GB, free: 12.67 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 () * Number of clocked 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.00227/6.098, allocations: 2.124 MB / 2.999 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003584/6.098, allocations: 155.8 kB / 2.999 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/6.098, allocations: 0 / 2.999 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/6.098, allocations: 56.59 kB / 2.999 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006278/6.099, allocations: 128.6 kB / 2.999 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/6.101, allocations: 2.599 MB / 3.001 GB, free: 7.48 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/6.102, allocations: 0.7599 MB / 3.002 GB, free: 6.695 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002097/6.102, allocations: 50.22 kB / 3.002 GB, free: 6.645 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/6.102, allocations: 75.41 kB / 3.002 GB, free: 6.57 MB / 0.6511 GB Notification: Performance of SimCode: time 3.31e-07/6.102, allocations: 4 kB / 3.002 GB, free: 6.566 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4127/6.515, allocations: 23.2 MB / 3.025 GB, free: 159 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001706/6.515, allocations: 219.7 kB / 3.025 GB, free: 158.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.741/9.256, allocations: 3.625 kB / 3.025 GB, free: 158.8 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)