Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.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.0008617/0.0008617, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009301/0.0009301, allocations: 169 kB / 23.02 MB, free: 1.539 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.9895/0.9895, allocations: 177.1 MB / 203.4 MB, free: 5.59 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.7547/0.7547, allocations: 154.6 MB / 414.5 MB, free: 0.6367 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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.228e-06/4.228e-06, allocations: 4.656 kB / 0.5203 GB, free: 2.215 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.081e-05/3.504e-05, allocations: 4.141 kB / 0.5203 GB, free: 2.211 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.127/0.1271, allocations: 131.1 MB / 0.6483 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001603/0.1272, allocations: 51.73 kB / 0.6484 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.574e-05/0.1273, allocations: 0 / 0.6484 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000138/0.1274, allocations: 11.94 kB / 0.6484 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.598e-05/0.1275, allocations: 15.91 kB / 0.6484 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.1286, allocations: 254.8 kB / 0.6487 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000127/0.1287, allocations: 39.86 kB / 0.6487 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.111e-05/0.1287, allocations: 3.984 kB / 0.6487 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.256e-05/0.1288, allocations: 19.92 kB / 0.6487 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.1289, allocations: 7.984 kB / 0.6487 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.1289, allocations: 4 kB / 0.6487 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000476/0.1294, allocations: 191.3 kB / 0.6489 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.515e-05/0.1295, allocations: 4 kB / 0.6489 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.549e-05/0.1295, allocations: 7.938 kB / 0.6489 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004254/0.1299, allocations: 179.5 kB / 0.6491 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.1299, allocations: 0 / 0.6491 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.265e-06/0.1299, allocations: 0 / 0.6491 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.13, allocations: 4 kB / 0.6491 GB, free: 14.02 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005831/0.1305, allocations: 388 kB / 0.6495 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.843e-05/0.1306, allocations: 8.031 kB / 0.6495 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.247e-05/0.1307, allocations: 5.281 kB / 0.6495 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.1308, allocations: 112.5 kB / 0.6496 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.131, allocations: 51.97 kB / 0.6496 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.131, allocations: 8.359 kB / 0.6497 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.1312, allocations: 84.41 kB / 0.6497 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1312, allocations: 0 / 0.6497 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1312, allocations: 7.938 kB / 0.6497 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.739e-05/0.1312, allocations: 0 / 0.6497 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.74e-05/0.1313, allocations: 7.984 kB / 0.6497 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007594/0.132, allocations: 299.8 kB / 0.65 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.722e-05/0.1321, allocations: 31 kB / 0.6501 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.238e-05/0.1321, allocations: 7.688 kB / 0.6501 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.43e-05/0.1322, allocations: 32.05 kB / 0.6501 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.1322, allocations: 41.33 kB / 0.6501 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 3.085e-06/0.1322, allocations: 3.984 kB / 0.6501 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0002104/0.1324, allocations: 37.69 kB / 0.6502 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.1325, allocations: 55.41 kB / 0.6502 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.1326, allocations: 157.9 kB / 0.6504 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.1326, allocations: 29.69 kB / 0.6504 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.186e-05/0.1327, allocations: 134.8 kB / 0.6505 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.145e-05/0.1327, allocations: 15.83 kB / 0.6506 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.1327, allocations: 19.38 kB / 0.6506 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1329, allocations: 492.1 kB / 0.651 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.549e-05/0.1329, allocations: 11.98 kB / 0.6511 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.062e-05/0.1329, allocations: 23.44 kB / 0.6511 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.109e-05/0.133, allocations: 27.38 kB / 0.6511 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.133, allocations: 3.938 kB / 0.6511 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.907e-05/0.1331, allocations: 49.62 kB / 0.6512 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.1331, allocations: 8 kB / 0.6512 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.1331, allocations: 4 kB / 0.6512 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.1331, allocations: 0 / 0.6512 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.896e-05/0.1332, allocations: 4 kB / 0.6512 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.1332, allocations: 0 / 0.6512 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.182e-05/0.1332, allocations: 8.062 kB / 0.6512 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.1332, allocations: 3.984 kB / 0.6512 GB, free: 11.65 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 0.0001008/0.1333, allocations: 164.5 kB / 0.6513 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.1334, allocations: 0 / 0.6513 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001902/0.1336, allocations: 171.2 kB / 0.6515 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.485e-05/0.1336, allocations: 268.1 kB / 0.6518 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.095e-05/0.1337, allocations: 276 kB / 0.652 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.595e-05/0.1338, allocations: 264.1 kB / 0.6523 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/0.1341, allocations: 495.9 kB / 0.6527 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.342e-05/0.1341, allocations: 164.9 kB / 0.6529 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.994e-05/0.1342, allocations: 144.9 kB / 0.653 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.138e-05/0.1343, allocations: 272 kB / 0.6533 GB, free: 9.375 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.183e-05/0.1343, allocations: 264.1 kB / 0.6536 GB, free: 9.109 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.934e-05/0.1344, allocations: 268.1 kB / 0.6538 GB, free: 8.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.912e-05/0.1345, allocations: 276 kB / 0.6541 GB, free: 8.562 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004775/0.135, allocations: 444 kB / 0.6545 GB, free: 8.102 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.686e-05/0.135, allocations: 152.8 kB / 0.6546 GB, free: 7.945 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.64e-05/0.1351, allocations: 268.1 kB / 0.6549 GB, free: 7.676 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.1352, allocations: 152.8 kB / 0.655 GB, free: 7.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.362e-05/0.1353, allocations: 264.1 kB / 0.6553 GB, free: 7.254 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.973e-05/0.1353, allocations: 156.8 kB / 0.6554 GB, free: 7.094 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.56e-05/0.1354, allocations: 131.2 kB / 0.6556 GB, free: 6.965 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.1354, allocations: 0 / 0.6556 GB, free: 6.965 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002533/0.1356, allocations: 59.69 kB / 0.6556 GB, free: 6.906 MB / 0.6198 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 (0): * Single equations (assignments): 0 * 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.0003144/0.136, allocations: 298.3 kB / 0.6559 GB, free: 6.605 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001159/0.1361, allocations: 19.67 kB / 0.6559 GB, free: 6.582 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.1361, allocations: 4 kB / 0.6559 GB, free: 6.578 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.746e-06/0.1361, allocations: 3.938 kB / 0.6559 GB, free: 6.574 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.1365, allocations: 0.71 MB / 0.6566 GB, free: 5.859 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005164/0.137, allocations: 237.4 kB / 0.6569 GB, free: 5.602 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.348e-05/0.137, allocations: 55.34 kB / 0.6569 GB, free: 5.527 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.081e-05/0.137, allocations: 8.125 kB / 0.6569 GB, free: 5.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.389e-05/0.1371, allocations: 8.5 kB / 0.6569 GB, free: 5.512 MB / 0.6198 GB Notification: Performance of SimCode: time 7.92e-07/0.1371, allocations: 0 / 0.6569 GB, free: 5.512 MB / 0.6198 GB Notification: Performance of Templates: time 0.00354/0.1406, allocations: 1.482 MB / 0.6584 GB, free: 4.043 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.041745055001229]