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.001478/0.001478, allocations: 81.27 kB / 19.18 MB, free: 2.531 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.001908/0.001908, allocations: 168.5 kB / 22.46 MB, free: 5.359 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.479/1.479, allocations: 177.1 MB / 202.8 MB, free: 9.184 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.243/1.243, 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.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.694e-06/1.694e-06, allocations: 0 / 0.6186 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.46e-05/3.629e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.6426/0.6426, allocations: 130.4 MB / 0.7459 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001468/0.6428, allocations: 50.78 kB / 0.7459 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.375e-05/0.6428, allocations: 0 / 0.7459 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.643, allocations: 7.891 kB / 0.7459 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.775e-05/0.643, allocations: 15.95 kB / 0.7459 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008173/0.6439, allocations: 217.7 kB / 0.7461 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.689e-05/0.6439, allocations: 32.66 kB / 0.7462 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.298e-05/0.644, allocations: 3.906 kB / 0.7462 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.261e-05/0.644, allocations: 17.91 kB / 0.7462 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.093e-05/0.6441, allocations: 17.72 kB / 0.7462 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.6441, allocations: 1.188 kB / 0.7462 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003518/0.6445, allocations: 159.2 kB / 0.7464 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.909e-05/0.6445, allocations: 16.95 kB / 0.7464 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.626e-05/0.6446, allocations: 7.703 kB / 0.7464 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002585/0.6448, allocations: 114.9 kB / 0.7465 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.82e-06/0.6448, allocations: 0 / 0.7465 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6448, allocations: 0 / 0.7465 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.6448, allocations: 1.781 kB / 0.7465 GB, free: 6.102 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.0003707/0.6452, allocations: 266 kB / 0.7468 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.6453, allocations: 9 kB / 0.7468 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003307/0.6456, allocations: 25.8 kB / 0.7468 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.94e-05/0.6457, allocations: 114.6 kB / 0.7469 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.785e-05/0.6457, allocations: 53.75 kB / 0.747 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.6458, allocations: 1.438 kB / 0.747 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.6459, allocations: 79.45 kB / 0.747 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.6459, allocations: 0 / 0.747 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.6459, allocations: 4.281 kB / 0.747 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.646, allocations: 5.109 kB / 0.747 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.662e-05/0.646, allocations: 21.14 kB / 0.7471 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003098/0.6463, allocations: 208.9 kB / 0.7473 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.454e-05/0.6464, allocations: 29.64 kB / 0.7473 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.848e-05/0.6464, allocations: 6.141 kB / 0.7473 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/0.6465, allocations: 12.72 kB / 0.7473 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.6466, allocations: 39.38 kB / 0.7473 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.6466, allocations: 0 / 0.7473 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002447/0.6468, allocations: 49.16 kB / 0.7474 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.6468, allocations: 59.17 kB / 0.7474 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.218e-05/0.6469, allocations: 106.1 kB / 0.7475 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.6469, allocations: 25.7 kB / 0.7476 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.975e-05/0.6469, allocations: 89.41 kB / 0.7477 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.347e-06/0.6469, allocations: 8.609 kB / 0.7477 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.647, allocations: 15.02 kB / 0.7477 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 4.647e-05/0.647, allocations: 323.7 kB / 0.748 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.881e-05/0.647, allocations: 6.516 kB / 0.748 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.28e-05/0.6471, allocations: 20.39 kB / 0.748 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.151e-05/0.6471, allocations: 39.53 kB / 0.7481 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.6471, allocations: 0 / 0.7481 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.387e-05/0.6472, allocations: 55.89 kB / 0.7481 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.6472, allocations: 7.641 kB / 0.7481 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.6472, allocations: 4.688 kB / 0.7481 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.6472, allocations: 1.25 kB / 0.7481 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.627e-05/0.6473, allocations: 5.531 kB / 0.7481 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.6473, allocations: 1.469 kB / 0.7481 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.794e-05/0.6473, allocations: 1.156 kB / 0.7481 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.6473, allocations: 1.438 kB / 0.7481 GB, free: 4.535 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 5.512e-05/0.6474, allocations: 123.5 kB / 0.7482 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.6474, allocations: 1.281 kB / 0.7482 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.221e-05/0.6474, allocations: 12.06 kB / 0.7483 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.6474, allocations: 0 / 0.7483 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.6474, allocations: 3.672 kB / 0.7483 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.6474, allocations: 0 / 0.7483 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.6476, allocations: 308.6 kB / 0.7486 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.6476, allocations: 0 / 0.7486 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.471e-05/0.6476, allocations: 7.75 kB / 0.7486 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.6476, allocations: 5.406 kB / 0.7486 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.6476, allocations: 0 / 0.7486 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.6477, allocations: 1.375 kB / 0.7486 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.6477, allocations: 2.625 kB / 0.7486 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.66e-05/0.6477, allocations: 73.64 kB / 0.7486 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-06/0.6477, allocations: 3.234 kB / 0.7486 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.6477, allocations: 1.219 kB / 0.7486 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.041e-05/0.6478, allocations: 5.281 kB / 0.7487 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.46e-05/0.6478, allocations: 1.812 kB / 0.7487 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.6478, allocations: 3.938 kB / 0.7487 GB, free: 4 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.399e-05/0.6479, allocations: 92.73 kB / 0.7487 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.6479, allocations: 1.375 kB / 0.7487 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000193/0.6481, allocations: 6.312 kB / 0.7488 GB, free: 3.918 MB / 0.6075 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.0001153/0.6482, allocations: 101.3 kB / 0.7488 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.345e-05/0.6483, allocations: 20 kB / 0.7489 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.6483, allocations: 0 / 0.7489 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.432e-05/0.6483, allocations: 14.41 kB / 0.7489 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.6485, allocations: 9.156 kB / 0.7489 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002769/0.6488, allocations: 108.8 kB / 0.749 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.289e-05/0.6489, allocations: 63.88 kB / 0.7491 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.214e-05/0.6489, allocations: 14.14 kB / 0.7491 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.373e-05/0.6489, allocations: 10 kB / 0.7491 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.6489, allocations: 0 / 0.7491 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of Templates: time 0.003425/0.6524, allocations: 0.5936 MB / 0.7497 GB, free: 3.559 MB / 0.6075 GB " [Timeout remaining time 659] 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: 6.59909750148654] Failed to read output from testmodel.py, exit status != 0: 0.6612780056893826 0.676088691 0.028034903000000003 Calling exit ...