Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.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.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",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.8209/0.8209, allocations: 127.3 MB / 139.8 MB, free: 15.46 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.001275/0.001275, allocations: 180.8 kB / 169.7 MB, free: 1.75 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.936/1.936, allocations: 205.1 MB / 404.5 MB, free: 1.594 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.001197/0.001197, allocations: 89.33 kB / 481.8 MB, free: 4.242 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.705e-05/3.708e-05, allocations: 4 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.173, allocations: 76.76 MB / 0.6282 GB, free: 9.938 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.723/5.896, allocations: 2.128 GB / 2.757 GB, free: 152.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/5.896, allocations: 72.34 kB / 2.757 GB, free: 152.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06611/5.962, allocations: 37.17 MB / 2.793 GB, free: 118.9 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.142e-06/5.962, allocations: 3.938 kB / 2.793 GB, free: 118.9 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.096e-06/5.962, allocations: 0 / 2.793 GB, free: 118.9 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002932/5.962, allocations: 338.5 kB / 2.793 GB, free: 118.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/5.962, allocations: 12.03 kB / 2.793 GB, free: 118.5 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.368e-05/5.962, allocations: 34.55 kB / 2.793 GB, free: 118.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002321/5.963, allocations: 15.98 kB / 2.793 GB, free: 118.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.235e-05/5.963, allocations: 167.1 kB / 2.794 GB, free: 118.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.973e-05/5.963, allocations: 29.7 kB / 2.794 GB, free: 118.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/5.963, allocations: 0 / 2.794 GB, free: 118.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/5.963, allocations: 61.61 kB / 2.794 GB, free: 118.1 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/5.963, allocations: 7.938 kB / 2.794 GB, free: 118.1 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/5.963, allocations: 3.938 kB / 2.794 GB, free: 118.1 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/5.963, allocations: 4 kB / 2.794 GB, free: 118.1 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.689e-05/5.963, allocations: 19.98 kB / 2.794 GB, free: 118.1 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002965/5.963, allocations: 253.7 kB / 2.794 GB, free: 117.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 4.467e-05/5.963, allocations: 22.52 kB / 2.794 GB, free: 117.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.907e-05/5.964, allocations: 12.92 kB / 2.794 GB, free: 117.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001314/5.964, allocations: 97.09 kB / 2.794 GB, free: 117.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.473e-05/5.964, allocations: 34.5 kB / 2.794 GB, free: 117.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/5.964, allocations: 0 / 2.794 GB, free: 117.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.0001925/5.964, allocations: 49.59 kB / 2.794 GB, free: 117.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.006e-05/5.964, allocations: 55.44 kB / 2.794 GB, free: 117.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.041e-05/5.964, allocations: 92.98 kB / 2.794 GB, free: 117.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/5.964, allocations: 25.7 kB / 2.794 GB, free: 117.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 2.695e-05/5.964, allocations: 91.98 kB / 2.794 GB, free: 117.3 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.094e-06/5.964, allocations: 7.906 kB / 2.794 GB, free: 117.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-06/5.964, allocations: 0 / 2.794 GB, free: 117.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 4.128e-05/5.964, allocations: 310.8 kB / 2.795 GB, free: 116.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.299e-05/5.964, allocations: 4 kB / 2.795 GB, free: 116.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.23e-05/5.964, allocations: 30.56 kB / 2.795 GB, free: 116.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.078e-05/5.964, allocations: 11.94 kB / 2.795 GB, free: 116.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/5.964, allocations: 0 / 2.795 GB, free: 116.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.34e-05/5.964, allocations: 57.58 kB / 2.795 GB, free: 116.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/5.964, allocations: 4 kB / 2.795 GB, free: 116.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/5.964, allocations: 0 / 2.795 GB, free: 116.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/5.964, allocations: 8.094 kB / 2.795 GB, free: 116.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.259e-05/5.964, allocations: 4 kB / 2.795 GB, free: 116.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/5.964, allocations: 0 / 2.795 GB, free: 116.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.675e-05/5.964, allocations: 4 kB / 2.795 GB, free: 116.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/5.964, allocations: 0 / 2.795 GB, free: 116.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 4.395e-05/5.964, allocations: 109 kB / 2.795 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/5.964, allocations: 7.938 kB / 2.795 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.296e-05/5.965, allocations: 3.125 kB / 2.795 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/5.965, allocations: 0 / 2.795 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/5.965, allocations: 4 kB / 2.795 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/5.965, allocations: 4 kB / 2.795 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/5.965, allocations: 363.5 kB / 2.795 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/5.965, allocations: 0 / 2.795 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.295e-05/5.965, allocations: 4 kB / 2.795 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/5.965, allocations: 0 / 2.795 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/5.965, allocations: 0 / 2.795 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/5.965, allocations: 7.875 kB / 2.795 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/5.965, allocations: 8.062 kB / 2.795 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.039e-05/5.965, allocations: 87.5 kB / 2.795 GB, free: 116.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 1.963e-05/5.965, allocations: 77.39 kB / 2.795 GB, free: 116 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/5.965, allocations: 4 kB / 2.795 GB, free: 116 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.669e-05/5.965, allocations: 4 kB / 2.795 GB, free: 116 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/5.965, allocations: 12.02 kB / 2.795 GB, free: 116 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/5.965, allocations: 0 / 2.795 GB, free: 116 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 2.578e-05/5.965, allocations: 83.27 kB / 2.796 GB, free: 115.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/5.965, allocations: 0 / 2.796 GB, free: 115.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000291/5.965, allocations: 36 kB / 2.796 GB, free: 115.9 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.000727/5.966, allocations: 1.146 MB / 2.797 GB, free: 114.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.574e-05/5.966, allocations: 15.94 kB / 2.797 GB, free: 114.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/5.966, allocations: 0 / 2.797 GB, free: 114.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.068e-05/5.966, allocations: 8 kB / 2.797 GB, free: 114.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/5.966, allocations: 4.312 kB / 2.797 GB, free: 114.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002837/5.967, allocations: 103.9 kB / 2.797 GB, free: 114.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/5.967, allocations: 0.6809 MB / 2.797 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.955e-05/5.967, allocations: 7.984 kB / 2.797 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.235e-05/5.967, allocations: 11.44 kB / 2.797 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of SimCode: time 3.1e-07/5.967, allocations: 0 / 2.797 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/5.991, allocations: 11.91 MB / 2.809 GB, free: 102 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001506/5.991, allocations: 170.4 kB / 2.809 GB, free: 101.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.873/7.865, allocations: 0 / 2.809 GB, free: 101.8 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)