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.001747/0.001747, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002164/0.002164, allocations: 190.6 kB / 22.23 MB, free: 5.098 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.418/1.418, allocations: 225.6 MB / 251 MB, free: 13.01 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.002525/0.002525, allocations: 286.1 kB / 306.6 MB, free: 8.324 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.53 GB, free: 14.43 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: translateModel(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002743/0.002743, allocations: 103.8 kB / 0.7308 GB, free: 38.81 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1735, allocations: 94.2 MB / 0.8228 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.179/0.3525, allocations: 148.3 MB / 0.9677 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001564/0.3526, allocations: 51.84 kB / 0.9677 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.902e-05/0.3527, allocations: 0 / 0.9677 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.3528, allocations: 7.938 kB / 0.9677 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.598e-05/0.3529, allocations: 15.91 kB / 0.9677 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005508/0.3534, allocations: 110.8 kB / 0.9678 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.3535, allocations: 35.84 kB / 0.9679 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.581e-05/0.3536, allocations: 7.938 kB / 0.9679 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.441e-05/0.3536, allocations: 19.97 kB / 0.9679 GB, free: 12.69 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.002e-05/0.3537, allocations: 15.98 kB / 0.9679 GB, free: 12.67 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.3537, allocations: 4 kB / 0.9679 GB, free: 12.67 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003141/0.354, allocations: 87.7 kB / 0.968 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.371e-05/0.3541, allocations: 11.92 kB / 0.968 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.3541, allocations: 11.98 kB / 0.968 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.3543, allocations: 67.8 kB / 0.9681 GB, free: 12.49 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3543, allocations: 0 / 0.9681 GB, free: 12.49 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3543, allocations: 0 / 0.9681 GB, free: 12.49 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.3543, allocations: 0 / 0.9681 GB, free: 12.49 MB / 0.7169 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.0004262/0.3547, allocations: 282.2 kB / 0.9684 GB, free: 12.19 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.3548, allocations: 8.625 kB / 0.9684 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002388/0.355, allocations: 16.92 kB / 0.9684 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.3551, allocations: 110.5 kB / 0.9685 GB, free: 12.03 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.79e-05/0.3552, allocations: 29.64 kB / 0.9685 GB, free: 12 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.3552, allocations: 0 / 0.9685 GB, free: 12 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.3554, allocations: 49.67 kB / 0.9686 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.3554, allocations: 4 kB / 0.9686 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.3554, allocations: 0 / 0.9686 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.194e-05/0.3554, allocations: 4 kB / 0.9686 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.701e-05/0.3555, allocations: 15.98 kB / 0.9686 GB, free: 11.92 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004186/0.3559, allocations: 239.9 kB / 0.9688 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.182e-05/0.3559, allocations: 18.58 kB / 0.9688 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.207e-05/0.356, allocations: 12.86 kB / 0.9688 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.356, allocations: 0 / 0.9688 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.356, allocations: 34.56 kB / 0.9689 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.356, allocations: 0 / 0.9689 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001536/0.3562, allocations: 45.69 kB / 0.9689 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.3562, allocations: 59.28 kB / 0.969 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.3563, allocations: 109.8 kB / 0.9691 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.3563, allocations: 29.83 kB / 0.9691 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/0.3564, allocations: 92.03 kB / 0.9692 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.853e-06/0.3564, allocations: 7.938 kB / 0.9692 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.3564, allocations: 17.72 kB / 0.9692 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3566, allocations: 310.8 kB / 0.9695 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.102e-05/0.3566, allocations: 8 kB / 0.9695 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.352e-05/0.3566, allocations: 22.56 kB / 0.9695 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.608e-05/0.3567, allocations: 34.52 kB / 0.9696 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3567, allocations: 0 / 0.9696 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.492e-05/0.3568, allocations: 57.58 kB / 0.9696 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.3568, allocations: 4 kB / 0.9696 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.3568, allocations: 4 kB / 0.9696 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3568, allocations: 0 / 0.9696 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.194e-05/0.3568, allocations: 8.094 kB / 0.9696 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.3569, allocations: 11.92 kB / 0.9697 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.012e-05/0.3569, allocations: 0 / 0.9697 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.3569, allocations: 0 / 0.9697 GB, free: 10.67 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.245e-05/0.357, allocations: 122.2 kB / 0.9698 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.357, allocations: 0 / 0.9698 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.001e-05/0.357, allocations: 7.156 kB / 0.9698 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.357, allocations: 0 / 0.9698 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.357, allocations: 3.938 kB / 0.9698 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3571, allocations: 4 kB / 0.9698 GB, free: 10.53 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002891/0.3573, allocations: 313.9 kB / 0.9701 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3573, allocations: 0 / 0.9701 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.684e-05/0.3574, allocations: 4 kB / 0.9701 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.3574, allocations: 3.938 kB / 0.9701 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-06/0.3574, allocations: 0 / 0.9701 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3574, allocations: 0 / 0.9701 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3574, allocations: 0 / 0.9701 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.93e-05/0.3575, allocations: 69.06 kB / 0.9702 GB, free: 10.08 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.272e-05/0.3575, allocations: 7.922 kB / 0.9702 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.3575, allocations: 0 / 0.9702 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.521e-05/0.3576, allocations: 8.188 kB / 0.9702 GB, free: 10.06 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.683e-05/0.3576, allocations: 4 kB / 0.9702 GB, free: 10.06 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.3576, allocations: 0 / 0.9702 GB, free: 10.06 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.223e-05/0.3576, allocations: 87.27 kB / 0.9703 GB, free: 9.973 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.3576, allocations: 8.031 kB / 0.9703 GB, free: 9.965 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001883/0.3578, allocations: 4 kB / 0.9703 GB, free: 9.961 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.0001031/0.3579, allocations: 95.25 kB / 0.9704 GB, free: 9.859 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.229e-05/0.358, allocations: 15.94 kB / 0.9704 GB, free: 9.844 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.358, allocations: 7.938 kB / 0.9704 GB, free: 9.836 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.469e-06/0.358, allocations: 0 / 0.9704 GB, free: 9.836 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.3583, allocations: 9.859 kB / 0.9704 GB, free: 9.828 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002717/0.3585, allocations: 122.9 kB / 0.9705 GB, free: 9.684 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.3588, allocations: 0.6729 MB / 0.9712 GB, free: 8.984 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.933e-05/0.3589, allocations: 7.984 kB / 0.9712 GB, free: 8.977 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.182e-05/0.3589, allocations: 7.438 kB / 0.9712 GB, free: 8.969 MB / 0.7169 GB Notification: Performance of SimCode: time 3.51e-07/0.3589, allocations: 0 / 0.9712 GB, free: 8.969 MB / 0.7169 GB Notification: Performance of Templates: time 0.002993/0.3619, allocations: 0.5297 MB / 0.9717 GB, free: 8.477 MB / 0.7169 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.191506731323898] Failed to read output from testmodel.py, exit status != 0: 0.3697794917970896 0.384694444 0.027406103 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f1c2a9c57b0>