Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy",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.7893/0.7893, allocations: 127.3 MB / 139.8 MB, free: 15.44 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001427/0.001427, allocations: 172.9 kB / 169.7 MB, free: 1.73 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.726/1.726, allocations: 205.1 MB / 404.5 MB, free: 1.578 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.001116/0.001116, allocations: 98.14 kB / 481.8 MB, free: 4.23 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.508e-05/4.536e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1687, allocations: 76.75 MB / 0.6282 GB, free: 9.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.101/5.27, allocations: 2.136 GB / 2.764 GB, free: 192.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/5.27, allocations: 92.72 kB / 2.764 GB, free: 192.6 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.7852/6.055, allocations: 208.5 MB / 2.968 GB, free: 172.5 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.483e-06/6.055, allocations: 0 / 2.968 GB, free: 172.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.314e-05/6.055, allocations: 7.188 kB / 2.968 GB, free: 172.5 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0009989/6.056, allocations: 0.5566 MB / 2.968 GB, free: 172.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/6.056, allocations: 9 kB / 2.968 GB, free: 172.2 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.861e-05/6.056, allocations: 55.02 kB / 2.969 GB, free: 172.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.134e-05/6.056, allocations: 33.09 kB / 2.969 GB, free: 172.1 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000389/6.057, allocations: 274.5 kB / 2.969 GB, free: 171.9 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/6.057, allocations: 15.22 kB / 2.969 GB, free: 171.9 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.415e-05/6.057, allocations: 20.53 kB / 2.969 GB, free: 171.9 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003487/6.057, allocations: 217.1 kB / 2.969 GB, free: 171.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/6.057, allocations: 4.406 kB / 2.969 GB, free: 171.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/6.057, allocations: 17.5 kB / 2.969 GB, free: 171.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/6.057, allocations: 7.922 kB / 2.969 GB, free: 171.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/6.058, allocations: 111.8 kB / 2.969 GB, free: 171.8 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009885/6.059, allocations: 1.025 MB / 2.97 GB, free: 171.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/6.059, allocations: 121 kB / 2.97 GB, free: 171 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.931e-05/6.059, allocations: 63.64 kB / 2.97 GB, free: 171 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002615/6.059, allocations: 112.8 kB / 2.97 GB, free: 170.9 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/6.059, allocations: 40.89 kB / 2.97 GB, free: 170.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/6.059, allocations: 0 / 2.97 GB, free: 170.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0003089/6.059, allocations: 115.2 kB / 2.971 GB, free: 170.8 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/6.06, allocations: 110.2 kB / 2.971 GB, free: 170.7 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/6.06, allocations: 246.3 kB / 2.971 GB, free: 170.6 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/6.06, allocations: 30.17 kB / 2.971 GB, free: 170.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.815e-05/6.06, allocations: 147.4 kB / 2.971 GB, free: 170.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/6.06, allocations: 35.14 kB / 2.971 GB, free: 170.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/6.06, allocations: 8.219 kB / 2.971 GB, free: 170.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.363e-05/6.06, allocations: 334.8 kB / 2.971 GB, free: 170.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.891e-05/6.06, allocations: 32.38 kB / 2.972 GB, free: 170.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/6.06, allocations: 89.5 kB / 2.972 GB, free: 170.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.103e-05/6.06, allocations: 43.78 kB / 2.972 GB, free: 170.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/6.06, allocations: 9.047 kB / 2.972 GB, free: 170.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002239/6.061, allocations: 143.5 kB / 2.972 GB, free: 170 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/6.061, allocations: 4.688 kB / 2.972 GB, free: 170 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/6.061, allocations: 2.688 kB / 2.972 GB, free: 170 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/6.061, allocations: 6.188 kB / 2.972 GB, free: 170 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/6.061, allocations: 34.38 kB / 2.972 GB, free: 170 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/6.061, allocations: 2.219 kB / 2.972 GB, free: 170 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/6.061, allocations: 34.39 kB / 2.972 GB, free: 170 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/6.061, allocations: 7.094 kB / 2.972 GB, free: 170 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 5.742e-05/6.061, allocations: 112.5 kB / 2.972 GB, free: 169.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.695e-05/6.061, allocations: 27.39 kB / 2.972 GB, free: 169.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/6.061, allocations: 105.7 kB / 2.972 GB, free: 169.9 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/6.061, allocations: 1.438 kB / 2.972 GB, free: 169.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/6.061, allocations: 3.875 kB / 2.972 GB, free: 169.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/6.061, allocations: 1.031 kB / 2.972 GB, free: 169.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005397/6.062, allocations: 0.5203 MB / 2.973 GB, free: 169.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/6.062, allocations: 1.812 kB / 2.973 GB, free: 169.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/6.062, allocations: 24.42 kB / 2.973 GB, free: 169.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/6.062, allocations: 1.719 kB / 2.973 GB, free: 169.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/6.062, allocations: 5.688 kB / 2.973 GB, free: 169.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/6.062, allocations: 1.656 kB / 2.973 GB, free: 169.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/6.062, allocations: 3.656 kB / 2.973 GB, free: 169.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/6.062, allocations: 323.7 kB / 2.973 GB, free: 169.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.956e-05/6.062, allocations: 108.7 kB / 2.973 GB, free: 169.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.627e-05/6.063, allocations: 5.156 kB / 2.973 GB, free: 169.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/6.063, allocations: 14.5 kB / 2.973 GB, free: 169.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/6.063, allocations: 17.31 kB / 2.973 GB, free: 169.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.934e-06/6.063, allocations: 3.469 kB / 2.973 GB, free: 169.1 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001887/6.063, allocations: 200.2 kB / 2.973 GB, free: 169 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/6.063, allocations: 0 / 2.973 GB, free: 169 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006636/6.064, allocations: 140.3 kB / 2.973 GB, free: 169 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (senStr.h_out) * 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.001981/6.066, allocations: 2.027 MB / 2.975 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002066/6.066, allocations: 82.98 kB / 2.975 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/6.066, allocations: 0 / 2.975 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.886e-05/6.066, allocations: 48.64 kB / 2.976 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007079/6.067, allocations: 116.1 kB / 2.976 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000913/6.068, allocations: 431.7 kB / 2.976 GB, free: 167.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/6.068, allocations: 0.7541 MB / 2.977 GB, free: 167 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001473/6.068, allocations: 46 kB / 2.977 GB, free: 167 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.237e-05/6.068, allocations: 70.48 kB / 2.977 GB, free: 167 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/6.068, allocations: 0.9688 kB / 2.977 GB, free: 167 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05467/6.123, allocations: 24.66 MB / 3.001 GB, free: 166.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001943/6.123, allocations: 206.8 kB / 3.001 GB, free: 165.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.659/8.782, allocations: 0 / 3.001 GB, free: 165.9 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)