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.7533/0.7533, allocations: 128.7 MB / 143.7 MB, free: 2.309 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.001156/0.001156, allocations: 178.3 kB / 173.7 MB, free: 6.125 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.871/1.871, allocations: 205.4 MB / 409 MB, free: 10.5 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.001017/0.001017, allocations: 94.86 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004092/0.0004091, allocations: 14.47 kB / 0.5604 GB, free: 97.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.174, allocations: 76.77 MB / 0.6354 GB, free: 30.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.572/5.746, allocations: 2.136 GB / 2.771 GB, free: 168.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003664/5.747, allocations: 89.23 kB / 2.772 GB, free: 168.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.8079/6.555, allocations: 208.7 MB / 2.975 GB, free: 175.1 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.647e-06/6.555, allocations: 0 / 2.975 GB, free: 175.1 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.974e-05/6.555, allocations: 18.58 kB / 2.975 GB, free: 175.1 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.001101/6.556, allocations: 0.5922 MB / 2.976 GB, free: 174.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/6.556, allocations: 8.188 kB / 2.976 GB, free: 174.7 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.993e-05/6.556, allocations: 55.7 kB / 2.976 GB, free: 174.7 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.26e-05/6.556, allocations: 28.19 kB / 2.976 GB, free: 174.7 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/6.557, allocations: 277.4 kB / 2.976 GB, free: 174.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/6.557, allocations: 11.88 kB / 2.976 GB, free: 174.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.302e-05/6.557, allocations: 19.25 kB / 2.976 GB, free: 174.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004338/6.557, allocations: 237.8 kB / 2.977 GB, free: 174.4 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/6.557, allocations: 4.531 kB / 2.977 GB, free: 174.4 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/6.557, allocations: 5.031 kB / 2.977 GB, free: 174.4 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/6.557, allocations: 12.36 kB / 2.977 GB, free: 174.4 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003416/6.557, allocations: 150.6 kB / 2.977 GB, free: 174.4 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009884/6.558, allocations: 1.032 MB / 2.978 GB, free: 173.6 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002497/6.559, allocations: 129.1 kB / 2.978 GB, free: 173.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002706/6.559, allocations: 113 kB / 2.978 GB, free: 173.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/6.559, allocations: 35.5 kB / 2.978 GB, free: 173.4 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/6.559, allocations: 0 / 2.978 GB, free: 173.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0005455/6.56, allocations: 200.2 kB / 2.978 GB, free: 173.4 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/6.56, allocations: 108 kB / 2.978 GB, free: 173.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/6.56, allocations: 251.2 kB / 2.979 GB, free: 173.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/6.56, allocations: 27.27 kB / 2.979 GB, free: 173.1 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.592e-05/6.56, allocations: 145.9 kB / 2.979 GB, free: 173 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/6.56, allocations: 39.66 kB / 2.979 GB, free: 173 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-06/6.56, allocations: 1.219 kB / 2.979 GB, free: 173 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.601e-05/6.56, allocations: 349.4 kB / 2.979 GB, free: 172.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/6.56, allocations: 42.98 kB / 2.979 GB, free: 172.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/6.56, allocations: 115.4 kB / 2.979 GB, free: 172.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/6.561, allocations: 56.47 kB / 2.979 GB, free: 172.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/6.561, allocations: 5.047 kB / 2.979 GB, free: 172.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003556/6.561, allocations: 182.4 kB / 2.979 GB, free: 172.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/6.561, allocations: 4.688 kB / 2.979 GB, free: 172.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/6.561, allocations: 2.625 kB / 2.979 GB, free: 172.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/6.561, allocations: 2.531 kB / 2.979 GB, free: 172.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/6.561, allocations: 30.72 kB / 2.979 GB, free: 172.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/6.561, allocations: 8 kB / 2.979 GB, free: 172.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/6.561, allocations: 34.83 kB / 2.98 GB, free: 172.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.453e-05/6.561, allocations: 13.62 kB / 2.98 GB, free: 172.6 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 () * Number of clocked 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 0.0001145/6.562, allocations: 140.6 kB / 2.98 GB, free: 172.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.787e-05/6.562, allocations: 30.11 kB / 2.98 GB, free: 172.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003215/6.562, allocations: 133.6 kB / 2.98 GB, free: 172.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/6.562, allocations: 5.984 kB / 2.98 GB, free: 172.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/6.562, allocations: 4.406 kB / 2.98 GB, free: 172.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/6.562, allocations: 0 / 2.98 GB, free: 172.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005537/6.563, allocations: 0.5141 MB / 2.98 GB, free: 172 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/6.563, allocations: 4.906 kB / 2.98 GB, free: 172 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/6.563, allocations: 27.8 kB / 2.98 GB, free: 172 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/6.563, allocations: 1.5 kB / 2.98 GB, free: 172 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/6.563, allocations: 2.469 kB / 2.98 GB, free: 172 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/6.563, allocations: 2.062 kB / 2.98 GB, free: 172 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/6.563, allocations: 0.9062 kB / 2.98 GB, free: 172 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004971/6.563, allocations: 374.5 kB / 2.981 GB, free: 171.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.297e-05/6.563, allocations: 108.8 kB / 2.981 GB, free: 171.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.301e-05/6.563, allocations: 5.031 kB / 2.981 GB, free: 171.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/6.564, allocations: 12.73 kB / 2.981 GB, free: 171.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/6.564, allocations: 19.98 kB / 2.981 GB, free: 171.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/6.564, allocations: 2.781 kB / 2.981 GB, free: 171.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001908/6.564, allocations: 206 kB / 2.981 GB, free: 171.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/6.564, allocations: 96 / 2.981 GB, free: 171.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008214/6.565, allocations: 142.1 kB / 2.981 GB, free: 171.6 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 () * 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.002314/6.567, allocations: 2.078 MB / 2.983 GB, free: 170.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004096/6.567, allocations: 117.2 kB / 2.983 GB, free: 170.4 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/6.567, allocations: 0.5625 kB / 2.983 GB, free: 170.4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001644/6.568, allocations: 60.62 kB / 2.983 GB, free: 170.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007067/6.568, allocations: 126.7 kB / 2.984 GB, free: 170.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/6.571, allocations: 2.331 MB / 2.986 GB, free: 168.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/6.571, allocations: 0.7632 MB / 2.987 GB, free: 168.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001752/6.571, allocations: 46.12 kB / 2.987 GB, free: 168.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.195e-05/6.571, allocations: 67.86 kB / 2.987 GB, free: 168.2 MB / 0.6511 GB Notification: Performance of SimCode: time 5.71e-07/6.571, allocations: 3.906 kB / 2.987 GB, free: 168.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04314/6.614, allocations: 21.94 MB / 3.008 GB, free: 167.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/6.615, allocations: 226.8 kB / 3.008 GB, free: 167.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.548/9.162, allocations: 7.938 kB / 3.008 GB, free: 167.2 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)