Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 107.7 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002679/0.002679, allocations: 289.9 kB / 303 MB, free: 9.504 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.198/1.198, allocations: 180.9 MB / 0.5261 GB, free: 14.84 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002758/0.002758, allocations: 102.3 kB / 0.7248 GB, free: 40.08 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1669, allocations: 94.16 MB / 0.8167 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1868/0.3537, allocations: 148.3 MB / 0.9615 GB, free: 0.5664 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0001699/0.3538, allocations: 55.72 kB / 0.9616 GB, free: 0.5156 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.503e-05/0.3539, allocations: 0 / 0.9616 GB, free: 0.5156 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.354, allocations: 7.938 kB / 0.9616 GB, free: 0.5078 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 8.914e-05/0.3541, allocations: 11.92 kB / 0.9616 GB, free: 0.4961 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005191/0.3546, allocations: 106.3 kB / 0.9617 GB, free: 404 kB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.3547, allocations: 39.84 kB / 0.9617 GB, free: 364 kB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 4.456e-05/0.3548, allocations: 0 / 0.9617 GB, free: 364 kB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 4.071e-05/0.3548, allocations: 11.98 kB / 0.9617 GB, free: 352 kB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 8.807e-05/0.3549, allocations: 23.91 kB / 0.9618 GB, free: 328 kB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.3549, allocations: 0 / 0.9618 GB, free: 328 kB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002814/0.3552, allocations: 87.72 kB / 0.9618 GB, free: 240 kB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 5.14e-05/0.3552, allocations: 11.98 kB / 0.9619 GB, free: 228 kB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 3.379e-05/0.3553, allocations: 11.94 kB / 0.9619 GB, free: 216 kB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.3555, allocations: 80.05 kB / 0.9619 GB, free: 136 kB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3555, allocations: 0 / 0.9619 GB, free: 136 kB / 0.7012 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3555, allocations: 0 / 0.9619 GB, free: 136 kB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.3555, allocations: 0 / 0.9619 GB, free: 136 kB / 0.7012 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.0005213/0.356, allocations: 335.4 kB / 0.9623 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.356, allocations: 12.03 kB / 0.9623 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.46e-05/0.3561, allocations: 34.73 kB / 0.9623 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002499/0.3563, allocations: 20.92 kB / 0.9623 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.3565, allocations: 176.1 kB / 0.9625 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.494e-05/0.3566, allocations: 29.64 kB / 0.9625 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.3566, allocations: 4 kB / 0.9625 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.3567, allocations: 45.67 kB / 0.9626 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.3567, allocations: 0 / 0.9626 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.3568, allocations: 4 kB / 0.9626 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.216e-05/0.3568, allocations: 7.938 kB / 0.9626 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.632e-05/0.3568, allocations: 19.98 kB / 0.9626 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004586/0.3573, allocations: 260.9 kB / 0.9628 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.454e-05/0.3573, allocations: 18.52 kB / 0.9629 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.818e-05/0.3574, allocations: 4.859 kB / 0.9629 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.851e-06/0.3574, allocations: 4.062 kB / 0.9629 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.3574, allocations: 34.56 kB / 0.9629 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.362e-06/0.3574, allocations: 3.938 kB / 0.9629 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001457/0.3575, allocations: 29.7 kB / 0.9629 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.215e-05/0.3576, allocations: 59.34 kB / 0.963 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.743e-05/0.3577, allocations: 105.8 kB / 0.9631 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.3577, allocations: 29.7 kB / 0.9631 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.181e-05/0.3578, allocations: 88.05 kB / 0.9632 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.117e-06/0.3578, allocations: 8.109 kB / 0.9632 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.3578, allocations: 17.72 kB / 0.9632 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.358, allocations: 310.8 kB / 0.9635 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.622e-05/0.358, allocations: 4 kB / 0.9635 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.816e-05/0.358, allocations: 26.56 kB / 0.9636 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.872e-05/0.3581, allocations: 34.52 kB / 0.9636 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3581, allocations: 0 / 0.9636 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.928e-05/0.3582, allocations: 61.58 kB / 0.9637 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3582, allocations: 7.125 kB / 0.9637 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3582, allocations: 0 / 0.9637 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.3582, allocations: 0 / 0.9637 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.462e-05/0.3583, allocations: 12.19 kB / 0.9637 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.3583, allocations: 3.938 kB / 0.9637 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.801e-05/0.3583, allocations: 8.094 kB / 0.9637 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-06/0.3583, allocations: 4 kB / 0.9637 GB, free: 14.09 MB / 0.7169 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.714e-05/0.3584, allocations: 121.8 kB / 0.9638 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.3585, allocations: 3.938 kB / 0.9638 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.658e-05/0.3585, allocations: 3.125 kB / 0.9638 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3585, allocations: 3.938 kB / 0.9638 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3585, allocations: 0 / 0.9638 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.3585, allocations: 0 / 0.9638 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.3588, allocations: 350.8 kB / 0.9641 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3588, allocations: 0 / 0.9641 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.492e-05/0.3588, allocations: 3.938 kB / 0.9642 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3588, allocations: 3.938 kB / 0.9642 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.3588, allocations: 0 / 0.9642 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3588, allocations: 0 / 0.9642 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3588, allocations: 0 / 0.9642 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.909e-05/0.3589, allocations: 65.12 kB / 0.9642 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.411e-05/0.359, allocations: 85.03 kB / 0.9643 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.359, allocations: 4 kB / 0.9643 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.433e-05/0.3591, allocations: 96 / 0.9643 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.194e-05/0.3591, allocations: 7.922 kB / 0.9643 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.3591, allocations: 0 / 0.9643 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.244e-05/0.3591, allocations: 91.27 kB / 0.9644 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.3591, allocations: 0 / 0.9644 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001842/0.3593, allocations: 4 kB / 0.9644 GB, free: 13.26 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004442/0.3598, allocations: 0.6046 MB / 0.965 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.526e-05/0.3599, allocations: 8 kB / 0.965 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3599, allocations: 0 / 0.965 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.578e-06/0.3599, allocations: 8.156 kB / 0.965 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.3601, allocations: 8.062 kB / 0.965 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004069/0.3605, allocations: 144.2 kB / 0.9652 GB, free: 12.42 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.3609, allocations: 0.6729 MB / 0.9658 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.773e-05/0.3609, allocations: 7.984 kB / 0.9658 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.019e-05/0.361, allocations: 11.44 kB / 0.9658 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of SimCode: time 2.8e-07/0.361, allocations: 0 / 0.9658 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02584/0.3868, allocations: 1.393 MB / 0.9672 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.995/8.382, allocations: 14.02 kB / 0.9672 GB, free: 10.48 MB / 0.7169 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.427314267959446] Failed to read output from testmodel.py, exit status != 0: 8.452287399210036 8.478757396 8.118299584 Calling exit ...