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.0009267/0.0009267, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.000958/0.000958, allocations: 173 kB / 23.5 MB, free: 1.055 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.9822/0.9822, allocations: 177.1 MB / 203.8 MB, free: 5.613 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-545:108: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-545:116: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.8187/0.8187, allocations: 154.6 MB / 414.9 MB, free: 0.6797 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 2.204e-06/2.204e-06, allocations: 0 / 0.5203 GB, free: 2.543 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.271e-05/3.492e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.539 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1388/0.1389, allocations: 143.9 MB / 0.6608 GB, free: 2.336 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001453/0.139, allocations: 51.73 kB / 0.6608 GB, free: 2.285 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.051e-05/0.1391, allocations: 0 / 0.6608 GB, free: 2.285 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.1392, allocations: 7.938 kB / 0.6608 GB, free: 2.277 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.791e-05/0.1393, allocations: 11.97 kB / 0.6609 GB, free: 2.266 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000752/0.1401, allocations: 219 kB / 0.6611 GB, free: 2.051 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.1402, allocations: 39.83 kB / 0.6611 GB, free: 2.012 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.408e-05/0.1402, allocations: 4 kB / 0.6611 GB, free: 2.008 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.373e-05/0.1403, allocations: 15.98 kB / 0.6611 GB, free: 1.992 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.552e-05/0.1403, allocations: 23.91 kB / 0.6611 GB, free: 1.969 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.1403, allocations: 0 / 0.6611 GB, free: 1.969 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002832/0.1406, allocations: 155.4 kB / 0.6613 GB, free: 1.816 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.25e-05/0.1407, allocations: 15.97 kB / 0.6613 GB, free: 1.801 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.1407, allocations: 7.938 kB / 0.6613 GB, free: 1.793 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.1409, allocations: 111.7 kB / 0.6614 GB, free: 1.684 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1409, allocations: 3.938 kB / 0.6614 GB, free: 1.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1409, allocations: 0 / 0.6614 GB, free: 1.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.1409, allocations: 0 / 0.6614 GB, free: 1.68 MB / 0.6198 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.0004068/0.1413, allocations: 372.2 kB / 0.6618 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.1414, allocations: 12.03 kB / 0.6618 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003339/0.1417, allocations: 33.14 kB / 0.6618 GB, free: 1.238 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.522e-05/0.1418, allocations: 112.6 kB / 0.6619 GB, free: 1.102 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.599e-05/0.1419, allocations: 51.97 kB / 0.662 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.1419, allocations: 8.125 kB / 0.662 GB, free: 1.031 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.142, allocations: 76.09 kB / 0.6621 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.142, allocations: 0 / 0.6621 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.1421, allocations: 3.984 kB / 0.6621 GB, free: 0.9375 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/0.1421, allocations: 4 kB / 0.6621 GB, free: 0.9336 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.557e-05/0.1421, allocations: 19.92 kB / 0.6621 GB, free: 0.9141 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000333/0.1424, allocations: 259.8 kB / 0.6623 GB, free: 0.625 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.329e-05/0.1425, allocations: 27.06 kB / 0.6624 GB, free: 0.5859 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.978e-05/0.1425, allocations: 7.688 kB / 0.6624 GB, free: 0.5742 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.1426, allocations: 20.05 kB / 0.6624 GB, free: 0.5547 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.1426, allocations: 41.39 kB / 0.6624 GB, free: 0.5039 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.1426, allocations: 0 / 0.6624 GB, free: 0.5039 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002132/0.1429, allocations: 61.52 kB / 0.6625 GB, free: 448 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.1429, allocations: 55.41 kB / 0.6625 GB, free: 380 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.536e-05/0.143, allocations: 165.9 kB / 0.6627 GB, free: 196 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.143, allocations: 25.7 kB / 0.6627 GB, free: 164 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.238e-05/0.143, allocations: 130.8 kB / 0.6628 GB, free: 28 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.715e-06/0.143, allocations: 7.953 kB / 0.6629 GB, free: 20 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.1431, allocations: 23.38 kB / 0.6629 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.1432, allocations: 0.4883 MB / 0.6634 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.1432, allocations: 4 kB / 0.6634 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.647e-05/0.1432, allocations: 35.19 kB / 0.6634 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.828e-05/0.1433, allocations: 39 kB / 0.6634 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1433, allocations: 0 / 0.6634 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.35e-05/0.1434, allocations: 49.62 kB / 0.6635 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.1434, allocations: 8 kB / 0.6635 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1434, allocations: 0 / 0.6635 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1434, allocations: 3.938 kB / 0.6635 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.044e-05/0.1434, allocations: 16.08 kB / 0.6635 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.1434, allocations: 3.938 kB / 0.6635 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.574e-05/0.1435, allocations: 0 / 0.6635 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.1435, allocations: 4 kB / 0.6635 GB, free: 15.3 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 6.413e-05/0.1435, allocations: 156.5 kB / 0.6637 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.629e-05/0.1435, allocations: 7.953 kB / 0.6637 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.771e-05/0.1436, allocations: 10.91 kB / 0.6637 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1436, allocations: 0 / 0.6637 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1436, allocations: 0 / 0.6637 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.175e-06/0.1436, allocations: 0 / 0.6637 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.1438, allocations: 435.9 kB / 0.6641 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1438, allocations: 0 / 0.6641 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.257e-05/0.1438, allocations: 4 kB / 0.6641 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1438, allocations: 0 / 0.6641 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.1438, allocations: 0 / 0.6641 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.1438, allocations: 0 / 0.6641 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1438, allocations: 4 kB / 0.6641 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.803e-05/0.1439, allocations: 88 kB / 0.6642 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-06/0.1439, allocations: 4 kB / 0.6642 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.1439, allocations: 4.094 kB / 0.6642 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.341e-05/0.1439, allocations: 4 kB / 0.6642 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.548e-05/0.1439, allocations: 3.938 kB / 0.6642 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-06/0.144, allocations: 0 / 0.6642 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.087e-05/0.144, allocations: 127.2 kB / 0.6643 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.144, allocations: 0 / 0.6643 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001264/0.1441, allocations: 8 kB / 0.6643 GB, free: 14.37 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 0.0001119/0.1442, allocations: 99.25 kB / 0.6644 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.365e-05/0.1443, allocations: 27.61 kB / 0.6645 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1443, allocations: 0 / 0.6645 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.999e-06/0.1443, allocations: 11.69 kB / 0.6645 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.1445, allocations: 24.59 kB / 0.6645 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004583/0.145, allocations: 130.3 kB / 0.6646 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.513e-05/0.145, allocations: 55.36 kB / 0.6647 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.084e-05/0.145, allocations: 8.406 kB / 0.6647 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.1451, allocations: 12.5 kB / 0.6647 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of SimCode: time 5.91e-07/0.1451, allocations: 3.938 kB / 0.6647 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of Templates: time 0.002445/0.1475, allocations: 0.6854 MB / 0.6654 GB, free: 13.28 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=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.341554418206215]