Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002116/0.002116, allocations: 163.4 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.473/1.473, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 1.205/1.205, allocations: 154.6 MB / 413.8 MB, free: 5.227 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.046e-06/3.046e-06, allocations: 0 / 0.6186 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.191e-05/4.496e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.7313/0.7314, allocations: 130 MB / 0.7455 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001574/0.7315, allocations: 58.17 kB / 0.7456 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.975e-05/0.7316, allocations: 0 / 0.7456 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.7317, allocations: 3.734 kB / 0.7456 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.7318, allocations: 15.36 kB / 0.7456 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006816/0.7325, allocations: 112.1 kB / 0.7457 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.7326, allocations: 31.45 kB / 0.7457 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.274e-05/0.7326, allocations: 1 kB / 0.7457 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.554e-05/0.7327, allocations: 25.67 kB / 0.7457 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.933e-05/0.7328, allocations: 8.422 kB / 0.7458 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.7328, allocations: 1.406 kB / 0.7458 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003223/0.7332, allocations: 76.8 kB / 0.7458 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.953e-05/0.7332, allocations: 5.406 kB / 0.7458 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/0.7333, allocations: 5.25 kB / 0.7458 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.7335, allocations: 79.69 kB / 0.7459 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.7335, allocations: 6.344 kB / 0.7459 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7335, allocations: 0 / 0.7459 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.7335, allocations: 1.281 kB / 0.7459 GB, free: 6.168 MB / 0.6075 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.0004333/0.7339, allocations: 258.5 kB / 0.7462 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.734, allocations: 10.16 kB / 0.7462 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002844/0.7343, allocations: 18.3 kB / 0.7462 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.7344, allocations: 111.6 kB / 0.7463 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.689e-05/0.7345, allocations: 55.59 kB / 0.7464 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.7345, allocations: 5.5 kB / 0.7464 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.7346, allocations: 73.59 kB / 0.7464 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.7346, allocations: 1.406 kB / 0.7464 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.7346, allocations: 0 / 0.7464 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/0.7347, allocations: 4.844 kB / 0.7464 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.531e-05/0.7347, allocations: 17.8 kB / 0.7465 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003772/0.7351, allocations: 203.9 kB / 0.7467 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.842e-05/0.7352, allocations: 24.14 kB / 0.7467 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.882e-05/0.7352, allocations: 9.828 kB / 0.7467 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/0.7352, allocations: 0 / 0.7467 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.7352, allocations: 34.69 kB / 0.7467 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.7352, allocations: 0 / 0.7467 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001578/0.7354, allocations: 35.64 kB / 0.7468 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.7354, allocations: 59.03 kB / 0.7468 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.943e-05/0.7355, allocations: 117.7 kB / 0.7469 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.7355, allocations: 26.64 kB / 0.7469 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.079e-05/0.7355, allocations: 92.31 kB / 0.747 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.579e-06/0.7355, allocations: 0 / 0.747 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.7356, allocations: 20.34 kB / 0.7471 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 5.255e-05/0.7356, allocations: 323.5 kB / 0.7474 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.758e-05/0.7356, allocations: 5.875 kB / 0.7474 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.557e-05/0.7357, allocations: 22.89 kB / 0.7474 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.873e-05/0.7357, allocations: 34.45 kB / 0.7474 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.7357, allocations: 1.312 kB / 0.7474 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.567e-05/0.7358, allocations: 52.86 kB / 0.7475 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.7358, allocations: 8.5 kB / 0.7475 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.7358, allocations: 4 kB / 0.7475 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.7358, allocations: 1.438 kB / 0.7475 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.736e-05/0.7359, allocations: 5.5 kB / 0.7475 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.7359, allocations: 2.469 kB / 0.7475 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.47e-05/0.7359, allocations: 2.406 kB / 0.7475 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.7359, allocations: 1.094 kB / 0.7475 GB, free: 4.613 MB / 0.6075 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 6.327e-05/0.736, allocations: 118.5 kB / 0.7476 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.736, allocations: 2.375 kB / 0.7476 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.209e-05/0.7361, allocations: 4.469 kB / 0.7476 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.7361, allocations: 10.52 kB / 0.7476 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.7361, allocations: 0 / 0.7476 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.7361, allocations: 1.344 kB / 0.7476 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.7363, allocations: 305.7 kB / 0.7479 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.7363, allocations: 0 / 0.7479 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.404e-05/0.7363, allocations: 2.375 kB / 0.7479 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.7363, allocations: 0 / 0.7479 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.7363, allocations: 1.344 kB / 0.7479 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.7363, allocations: 0 / 0.7479 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.7363, allocations: 0 / 0.7479 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.482e-05/0.7364, allocations: 67.5 kB / 0.748 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 1.111e-05/0.7364, allocations: 5.312 kB / 0.748 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.7364, allocations: 5.438 kB / 0.748 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.412e-05/0.7365, allocations: 3.125 kB / 0.748 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.371e-05/0.7365, allocations: 5.438 kB / 0.748 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.7365, allocations: 2.688 kB / 0.748 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.46e-05/0.7365, allocations: 87.19 kB / 0.7481 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6e-08/0.7365, allocations: 0 / 0.7481 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002135/0.7368, allocations: 9.438 kB / 0.7481 GB, free: 4.008 MB / 0.6075 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.0001053/0.7369, allocations: 101.1 kB / 0.7482 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.702e-05/0.7369, allocations: 12.69 kB / 0.7482 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.7369, allocations: 0 / 0.7482 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.252e-06/0.737, allocations: 5.969 kB / 0.7482 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.7372, allocations: 10.75 kB / 0.7482 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000265/0.7374, allocations: 97.02 kB / 0.7483 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.074e-05/0.7375, allocations: 61.5 kB / 0.7484 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.476e-05/0.7375, allocations: 10.31 kB / 0.7484 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.207e-05/0.7375, allocations: 10.56 kB / 0.7484 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of SimCode: time 5.11e-07/0.7375, allocations: 0 / 0.7484 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of Templates: time 0.003213/0.7408, allocations: 0.5313 MB / 0.7489 GB, free: 3.695 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.824746295809746] Failed to read output from testmodel.py, exit status != 0: 0.7510957345366478 0.764899188 0.028287588000000002 Calling exit ...