Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.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.001308/0.001308, 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.001447/0.001447, allocations: 191.7 kB / 22.23 MB, free: 5.105 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.561/1.561, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.18/1.18, allocations: 177.9 MB / 484.2 MB, free: 5.336 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 61.5 kB / 0.674 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8559/0.8579, allocations: 95.17 MB / 0.7669 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.2375/1.095, allocations: 148.7 MB / 0.9122 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0001667/1.096, allocations: 59.78 kB / 0.9122 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.079e-05/1.096, allocations: 0 / 0.9122 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0001412/1.096, allocations: 3.938 kB / 0.9122 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 8.838e-05/1.096, allocations: 11.92 kB / 0.9122 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009359/1.097, allocations: 219.2 kB / 0.9124 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/1.097, allocations: 31.91 kB / 0.9125 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 5.306e-05/1.097, allocations: 4 kB / 0.9125 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 4.645e-05/1.097, allocations: 23.91 kB / 0.9125 GB, free: 13.53 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 7.512e-05/1.097, allocations: 11.94 kB / 0.9125 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/1.097, allocations: 0 / 0.9125 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004904/1.098, allocations: 219.3 kB / 0.9127 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 5.231e-05/1.098, allocations: 15.91 kB / 0.9127 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 3.698e-05/1.098, allocations: 15.94 kB / 0.9127 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0003619/1.098, allocations: 110.5 kB / 0.9129 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/1.098, allocations: 0 / 0.9129 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.312e-06/1.098, allocations: 0 / 0.9129 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.48e-06/1.098, allocations: 0 / 0.9129 GB, free: 13.17 MB / 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.0004762/1.099, allocations: 269.9 kB / 0.9131 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/1.099, allocations: 12.03 kB / 0.9131 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003351/1.099, allocations: 24.86 kB / 0.9131 GB, free: 12.85 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/1.099, allocations: 118.5 kB / 0.9133 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.178e-05/1.099, allocations: 29.64 kB / 0.9133 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-06/1.099, allocations: 0 / 0.9133 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/1.099, allocations: 45.69 kB / 0.9133 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/1.099, allocations: 0 / 0.9133 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/1.099, allocations: 4 kB / 0.9133 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/1.099, allocations: 4 kB / 0.9133 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.55e-05/1.099, allocations: 15.98 kB / 0.9134 GB, free: 12.6 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005154/1.1, allocations: 243.9 kB / 0.9136 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 7.27e-05/1.1, allocations: 26.52 kB / 0.9136 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.035e-05/1.1, allocations: 4.859 kB / 0.9136 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/1.1, allocations: 20.05 kB / 0.9136 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/1.1, allocations: 34.56 kB / 0.9137 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/1.1, allocations: 0 / 0.9137 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of matching and sorting (n=2): time 0.0002624/1.1, allocations: 49.69 kB / 0.9137 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/1.1, allocations: 55.34 kB / 0.9138 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/1.101, allocations: 105.8 kB / 0.9139 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/1.101, allocations: 25.7 kB / 0.9139 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 5.907e-05/1.101, allocations: 88.22 kB / 0.914 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 1.091e-05/1.101, allocations: 11.94 kB / 0.914 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/1.101, allocations: 17.72 kB / 0.914 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001428/1.101, allocations: 310.8 kB / 0.9143 GB, free: 11.51 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.775e-05/1.101, allocations: 4 kB / 0.9143 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.227e-05/1.101, allocations: 26.75 kB / 0.9143 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.19e-05/1.101, allocations: 34.52 kB / 0.9144 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/1.101, allocations: 0 / 0.9144 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.58e-05/1.101, allocations: 53.72 kB / 0.9144 GB, free: 11.37 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/1.101, allocations: 8 kB / 0.9144 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/1.101, allocations: 3.984 kB / 0.9144 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/1.101, allocations: 0 / 0.9144 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.23e-05/1.101, allocations: 8 kB / 0.9144 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/1.101, allocations: 7.922 kB / 0.9144 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.768e-05/1.101, allocations: 4.094 kB / 0.9144 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/1.101, allocations: 7.938 kB / 0.9145 GB, free: 11.33 MB / 0.7012 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 8.869e-05/1.101, allocations: 117.8 kB / 0.9146 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/1.101, allocations: 7.953 kB / 0.9146 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.426e-05/1.101, allocations: 3.312 kB / 0.9146 GB, free: 11.19 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/1.101, allocations: 0 / 0.9146 GB, free: 11.19 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/1.101, allocations: 3.938 kB / 0.9146 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/1.101, allocations: 0 / 0.9146 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003232/1.102, allocations: 342.6 kB / 0.9149 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.102, allocations: 0 / 0.9149 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.852e-05/1.102, allocations: 4 kB / 0.9149 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/1.102, allocations: 3.938 kB / 0.9149 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/1.102, allocations: 0 / 0.9149 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/1.102, allocations: 3.938 kB / 0.9149 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.102, allocations: 4 kB / 0.9149 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.41e-05/1.102, allocations: 74.05 kB / 0.915 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 1.934e-05/1.102, allocations: 19.83 kB / 0.915 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/1.102, allocations: 0 / 0.915 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.531e-05/1.102, allocations: 4 kB / 0.915 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.506e-05/1.102, allocations: 3.984 kB / 0.915 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/1.102, allocations: 0 / 0.915 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 5.009e-05/1.102, allocations: 79.31 kB / 0.9151 GB, free: 10.58 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/1.102, allocations: 4 kB / 0.9151 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0001966/1.102, allocations: 8 kB / 0.9151 GB, free: 10.57 MB / 0.7012 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 () * Number of clocked 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 (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.0001347/1.102, allocations: 103.2 kB / 0.9152 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 9.153e-05/1.102, allocations: 11.98 kB / 0.9152 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/1.102, allocations: 0 / 0.9152 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 1.802e-05/1.102, allocations: 12.19 kB / 0.9152 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/1.103, allocations: 10.53 kB / 0.9152 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002964/1.103, allocations: 119.8 kB / 0.9153 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/1.103, allocations: 0.6768 MB / 0.916 GB, free: 9.578 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 5.198e-05/1.103, allocations: 12.05 kB / 0.916 GB, free: 9.566 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.374e-05/1.103, allocations: 7.438 kB / 0.916 GB, free: 9.559 MB / 0.7012 GB Notification: Performance of SimCode: time 3.1e-07/1.103, allocations: 0 / 0.916 GB, free: 9.559 MB / 0.7012 GB Notification: Performance of Templates: time 0.003381/1.107, allocations: 0.5987 MB / 0.9166 GB, free: 8.969 MB / 0.7012 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.258546703495085] Failed to read output from testmodel.py, exit status != 0: 1.1154581503942609 1.12983473 0.028637202 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f4ee50dd7b0>