Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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.001301/0.001301, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001458/0.001458, allocations: 191.4 kB / 22.11 MB, free: 5.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.773/1.773, allocations: 207.6 MB / 232.8 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3115/0.3115, allocations: 55.67 MB / 340.7 MB, free: 13.97 MB / 286.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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 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(Annex60.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Annex60.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002253/0.002253, allocations: 74.55 kB / 482 MB, free: 6.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4055, allocations: 62.88 MB / 0.5321 GB, free: 7.953 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.AirTemperatureEnthalpyInversion): time 0.2122/0.6177, allocations: 147.1 MB / 0.6758 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0001599/0.6178, allocations: 55.67 kB / 0.6759 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.828e-05/0.6178, allocations: 0 / 0.6759 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.618, allocations: 0 / 0.6759 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.483e-05/0.6181, allocations: 15.91 kB / 0.6759 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000873/0.6189, allocations: 207.2 kB / 0.6761 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.9e-05/0.619, allocations: 35.84 kB / 0.6761 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.598e-05/0.6191, allocations: 0 / 0.6761 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.847e-05/0.6191, allocations: 15.92 kB / 0.6761 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.179e-05/0.6192, allocations: 11.98 kB / 0.6761 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.6192, allocations: 0 / 0.6761 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003776/0.6196, allocations: 163.4 kB / 0.6763 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.988e-05/0.6196, allocations: 15.92 kB / 0.6763 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.693e-05/0.6197, allocations: 7.938 kB / 0.6763 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002704/0.6199, allocations: 107.3 kB / 0.6764 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.6199, allocations: 3.938 kB / 0.6764 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6199, allocations: 0 / 0.6764 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.6199, allocations: 0 / 0.6764 GB, free: 2.75 MB / 0.5137 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.0004847/0.6204, allocations: 265.1 kB / 0.6767 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.6205, allocations: 8.031 kB / 0.6767 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003255/0.6208, allocations: 24.91 kB / 0.6767 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.6209, allocations: 106.5 kB / 0.6768 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.301e-05/0.621, allocations: 41.62 kB / 0.6768 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-06/0.621, allocations: 0 / 0.6768 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.6211, allocations: 45.69 kB / 0.6769 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.6212, allocations: 0 / 0.6769 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.6212, allocations: 0 / 0.6769 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.6212, allocations: 4 kB / 0.6769 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.112e-05/0.6212, allocations: 23.92 kB / 0.6769 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004342/0.6217, allocations: 235.9 kB / 0.6771 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 7.255e-05/0.6217, allocations: 22.56 kB / 0.6772 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.799e-05/0.6218, allocations: 12.92 kB / 0.6772 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000129/0.6219, allocations: 11.98 kB / 0.6772 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.6219, allocations: 30.56 kB / 0.6772 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.6219, allocations: 8 kB / 0.6772 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0002478/0.6222, allocations: 49.62 kB / 0.6773 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.6222, allocations: 51.41 kB / 0.6773 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.98e-05/0.6223, allocations: 105.8 kB / 0.6774 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.6224, allocations: 29.7 kB / 0.6774 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.901e-05/0.6224, allocations: 92.02 kB / 0.6775 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.443e-06/0.6224, allocations: 3.953 kB / 0.6775 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.523e-05/0.6225, allocations: 21.84 kB / 0.6776 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.6226, allocations: 314.8 kB / 0.6779 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.75e-05/0.6226, allocations: 4 kB / 0.6779 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.233e-05/0.6227, allocations: 22.58 kB / 0.6779 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.182e-05/0.6227, allocations: 38.5 kB / 0.6779 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.6227, allocations: 4 kB / 0.6779 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.168e-05/0.6228, allocations: 49.64 kB / 0.678 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.6228, allocations: 7.984 kB / 0.678 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.6228, allocations: 0 / 0.678 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.6229, allocations: 0 / 0.678 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.907e-05/0.6229, allocations: 8 kB / 0.678 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.6229, allocations: 3.938 kB / 0.678 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.701e-05/0.6229, allocations: 3.938 kB / 0.678 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.6229, allocations: 12.03 kB / 0.678 GB, free: 0.918 MB / 0.5137 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.612e-05/0.623, allocations: 117.8 kB / 0.6781 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/0.6231, allocations: 3.953 kB / 0.6781 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.165e-05/0.6231, allocations: 7.297 kB / 0.6781 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.6231, allocations: 0 / 0.6781 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.6231, allocations: 7.938 kB / 0.6781 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.6231, allocations: 0 / 0.6781 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.6234, allocations: 334.7 kB / 0.6784 GB, free: 400 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.6234, allocations: 0 / 0.6784 GB, free: 400 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.638e-05/0.6235, allocations: 4 kB / 0.6785 GB, free: 396 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.6235, allocations: 7.922 kB / 0.6785 GB, free: 388 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.6235, allocations: 0 / 0.6785 GB, free: 388 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.6235, allocations: 0 / 0.6785 GB, free: 388 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6235, allocations: 0 / 0.6785 GB, free: 388 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.532e-05/0.6236, allocations: 70.06 kB / 0.6785 GB, free: 296 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 1.164e-05/0.6236, allocations: 7.938 kB / 0.6785 GB, free: 288 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.6236, allocations: 7.984 kB / 0.6785 GB, free: 280 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.316e-05/0.6237, allocations: 0 / 0.6785 GB, free: 280 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.607e-05/0.6237, allocations: 3.938 kB / 0.6785 GB, free: 276 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.6237, allocations: 4 kB / 0.6786 GB, free: 272 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.866e-05/0.6237, allocations: 79.28 kB / 0.6786 GB, free: 192 kB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.6237, allocations: 0 / 0.6786 GB, free: 192 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00019/0.6239, allocations: 8.031 kB / 0.6786 GB, free: 184 kB / 0.5137 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.0001457/0.6241, allocations: 103.2 kB / 0.6787 GB, free: 72 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.399e-05/0.6242, allocations: 15.94 kB / 0.6787 GB, free: 56 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6242, allocations: 0 / 0.6787 GB, free: 56 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.063e-05/0.6242, allocations: 4 kB / 0.6788 GB, free: 52 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.6244, allocations: 8.719 kB / 0.6788 GB, free: 44 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002953/0.6247, allocations: 128.2 kB / 0.6789 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.6251, allocations: 0.6729 MB / 0.6795 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.196e-05/0.6251, allocations: 15.97 kB / 0.6796 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.295e-05/0.6251, allocations: 11.38 kB / 0.6796 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of SimCode: time 4.61e-07/0.6251, allocations: 0 / 0.6796 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of Templates: time 0.002906/0.628, allocations: 0.5495 MB / 0.6801 GB, free: 14.62 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.801554746925831] Failed to read output from testmodel.py, exit status != 0: 0.6367708584293723 0.650577599 0.027482927 Calling exit ...