Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.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.0007753/0.0007753, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008135/0.0008135, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.863/0.863, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7037/0.7037, allocations: 154.6 MB / 414.5 MB, free: 0.8125 MB / 378.7 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 179] 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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.752e-05, allocations: 5.094 kB / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4091/0.4091, allocations: 130.4 MB / 0.7466 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0001115/0.4092, allocations: 45.19 kB / 0.7467 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.179e-05/0.4093, allocations: 4 kB / 0.7467 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.4094, allocations: 14.27 kB / 0.7467 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.308e-05/0.4094, allocations: 7.75 kB / 0.7467 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006174/0.4101, allocations: 215.9 kB / 0.7469 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.519e-05/0.4101, allocations: 33.8 kB / 0.7469 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 3.596e-05/0.4102, allocations: 6.734 kB / 0.7469 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 4.818e-05/0.4102, allocations: 22.77 kB / 0.7469 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.704e-05/0.4103, allocations: 17.66 kB / 0.747 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.4103, allocations: 0 / 0.747 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000265/0.4105, allocations: 157.6 kB / 0.7471 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.987e-05/0.4106, allocations: 10.11 kB / 0.7471 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.032e-05/0.4106, allocations: 10.41 kB / 0.7471 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.4108, allocations: 113.9 kB / 0.7472 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4108, allocations: 3.938 kB / 0.7472 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4108, allocations: 0.5156 kB / 0.7472 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.4108, allocations: 5.531 kB / 0.7473 GB, free: 19.58 MB / 0.6355 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.000321/0.4111, allocations: 262.5 kB / 0.7475 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.4112, allocations: 9.406 kB / 0.7475 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00025/0.4114, allocations: 30.3 kB / 0.7475 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.973e-05/0.4115, allocations: 104.4 kB / 0.7476 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.874e-05/0.4115, allocations: 58.17 kB / 0.7477 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.305e-06/0.4115, allocations: 1.406 kB / 0.7477 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.4117, allocations: 77.28 kB / 0.7478 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-06/0.4117, allocations: 1.312 kB / 0.7478 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.4117, allocations: 4 kB / 0.7478 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.4117, allocations: 6.734 kB / 0.7478 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.677e-05/0.4117, allocations: 24.53 kB / 0.7478 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002425/0.412, allocations: 206.1 kB / 0.748 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.395e-05/0.412, allocations: 20.38 kB / 0.748 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.64e-05/0.412, allocations: 11.95 kB / 0.748 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.457e-05/0.4121, allocations: 17.94 kB / 0.748 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/0.4121, allocations: 40.25 kB / 0.7481 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.673e-06/0.4121, allocations: 0 / 0.7481 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001662/0.4123, allocations: 51.91 kB / 0.7481 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.736e-05/0.4123, allocations: 52.56 kB / 0.7482 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.004e-05/0.4124, allocations: 104.4 kB / 0.7483 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.4124, allocations: 26.8 kB / 0.7483 GB, free: 18.51 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.41e-05/0.4124, allocations: 89.91 kB / 0.7484 GB, free: 18.42 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.743e-06/0.4124, allocations: 5.844 kB / 0.7484 GB, free: 18.42 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-05/0.4124, allocations: 18.83 kB / 0.7484 GB, free: 18.4 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.718e-05/0.4125, allocations: 320.7 kB / 0.7487 GB, free: 18.08 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.351e-05/0.4125, allocations: 8.156 kB / 0.7487 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.128e-05/0.4125, allocations: 21.86 kB / 0.7488 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.278e-05/0.4125, allocations: 33.23 kB / 0.7488 GB, free: 18.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.4125, allocations: 3.938 kB / 0.7488 GB, free: 18.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.626e-05/0.4126, allocations: 60.45 kB / 0.7488 GB, free: 17.97 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.4126, allocations: 6.547 kB / 0.7489 GB, free: 17.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4126, allocations: 5.125 kB / 0.7489 GB, free: 17.97 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.4126, allocations: 1.188 kB / 0.7489 GB, free: 17.97 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.779e-05/0.4127, allocations: 7.047 kB / 0.7489 GB, free: 17.97 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.4127, allocations: 1.125 kB / 0.7489 GB, free: 17.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.563e-05/0.4127, allocations: 1.125 kB / 0.7489 GB, free: 17.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-06/0.4127, allocations: 1.984 kB / 0.7489 GB, free: 17.97 MB / 0.6355 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 4.384e-05/0.4127, allocations: 122.8 kB / 0.749 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/0.4128, allocations: 1.031 kB / 0.749 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.069e-05/0.4128, allocations: 12.47 kB / 0.749 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.4128, allocations: 5.188 kB / 0.749 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4128, allocations: 0.6094 kB / 0.749 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.4128, allocations: 0 / 0.749 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.4129, allocations: 311.7 kB / 0.7493 GB, free: 17.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4129, allocations: 0 / 0.7493 GB, free: 17.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.341e-05/0.4129, allocations: 4.078 kB / 0.7493 GB, free: 17.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.413, allocations: 1.062 kB / 0.7493 GB, free: 17.51 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.892e-06/0.413, allocations: 1.312 kB / 0.7493 GB, free: 17.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.413, allocations: 0.75 kB / 0.7493 GB, free: 17.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.413, allocations: 1.312 kB / 0.7493 GB, free: 17.51 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.291e-05/0.413, allocations: 78.69 kB / 0.7494 GB, free: 17.42 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.189e-06/0.413, allocations: 2.828 kB / 0.7494 GB, free: 17.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.413, allocations: 1.781 kB / 0.7494 GB, free: 17.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.703e-05/0.4131, allocations: 3.625 kB / 0.7494 GB, free: 17.42 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.307e-05/0.4131, allocations: 10.31 kB / 0.7494 GB, free: 17.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.4131, allocations: 5 kB / 0.7494 GB, free: 17.41 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.583e-05/0.4131, allocations: 81.2 kB / 0.7495 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4131, allocations: 3.938 kB / 0.7495 GB, free: 17.33 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001235/0.4132, allocations: 6.719 kB / 0.7495 GB, free: 17.33 MB / 0.6355 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 9.735e-05/0.4133, allocations: 100.5 kB / 0.7496 GB, free: 17.24 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.407e-05/0.4134, allocations: 19.39 kB / 0.7496 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4134, allocations: 1.875 kB / 0.7496 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.572e-06/0.4134, allocations: 3.062 kB / 0.7496 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.4136, allocations: 14.16 kB / 0.7496 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000227/0.4138, allocations: 146.5 kB / 0.7498 GB, free: 17.08 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.123e-05/0.4138, allocations: 63.33 kB / 0.7498 GB, free: 17.01 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.402e-05/0.4139, allocations: 14.83 kB / 0.7498 GB, free: 17 MB / 0.6355 GB Notification: Performance of SimCode: time 4.51e-07/0.4139, allocations: 0 / 0.7498 GB, free: 17 MB / 0.6355 GB Notification: Performance of Templates: time 0.001765/0.4156, allocations: 0.6351 MB / 0.7505 GB, free: 16.97 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.422329768538475] Failed to read output from testmodel.py, exit status != 0: 0.42116519156843424 0.429687701 0.017079839 Calling exit ...