Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.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.001112/0.001112, allocations: 77.09 kB / 20.65 MB, free: 3.852 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.001183/0.001183, allocations: 165 kB / 24.05 MB, free: 464 kB / 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 1.103/1.103, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.8129/0.8129, allocations: 154.6 MB / 415.6 MB, free: 0.5 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.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck") translateModel(IDEAS.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.5215 GB, free: 1.961 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.113e-05/1.232e-05, allocations: 5.266 kB / 0.5215 GB, free: 1.957 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.001505/0.001518, allocations: 1.287 MB / 0.5227 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1205/0.1221, allocations: 130.9 MB / 0.6505 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.161e-05/0.1221, allocations: 4 kB / 0.6505 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.084e-05/0.1221, allocations: 3.984 kB / 0.6505 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.846e-05/0.1222, allocations: 7.922 kB / 0.6506 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009728/0.1231, allocations: 470.1 kB / 0.651 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.592e-05/0.1232, allocations: 35.86 kB / 0.651 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.179e-05/0.1233, allocations: 15.97 kB / 0.651 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.639e-05/0.1233, allocations: 27.92 kB / 0.6511 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.454e-05/0.1234, allocations: 15.97 kB / 0.6511 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.1234, allocations: 0 / 0.6511 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009729/0.1244, allocations: 0.7996 MB / 0.6519 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.1244, allocations: 15.97 kB / 0.6519 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.251e-05/0.1244, allocations: 11.94 kB / 0.6519 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005283/0.1249, allocations: 0.5613 MB / 0.6524 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1249, allocations: 4 kB / 0.6524 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1249, allocations: 0 / 0.6524 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.1249, allocations: 0 / 0.6524 GB, free: 11.55 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004044/0.1254, allocations: 392.1 kB / 0.6528 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1254, allocations: 12.03 kB / 0.6528 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.1255, allocations: 29.09 kB / 0.6529 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.451e-05/0.1256, allocations: 112.6 kB / 0.653 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.1256, allocations: 384 / 0.653 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.1256, allocations: 12.38 kB / 0.653 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.1258, allocations: 135.3 kB / 0.6531 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.1258, allocations: 3.938 kB / 0.6531 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.1258, allocations: 4 kB / 0.6531 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1258, allocations: 3.938 kB / 0.6531 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.077e-05/0.1258, allocations: 11.98 kB / 0.6531 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001049/0.1259, allocations: 105.2 kB / 0.6532 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.703e-05/0.126, allocations: 47.05 kB / 0.6533 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.006e-05/0.126, allocations: 23.91 kB / 0.6533 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004795/0.1308, allocations: 2.462 MB / 0.6557 GB, free: 8.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.1308, allocations: 37.33 kB / 0.6557 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.1308, allocations: 4 kB / 0.6557 GB, free: 8.039 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.01597/0.1468, allocations: 6.331 MB / 0.6619 GB, free: 1.574 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.1468, allocations: 55.41 kB / 0.662 GB, free: 1.508 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.814e-05/0.1469, allocations: 153.9 kB / 0.6621 GB, free: 1.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.1469, allocations: 25.7 kB / 0.6622 GB, free: 1.309 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.237e-05/0.147, allocations: 130.8 kB / 0.6623 GB, free: 1.176 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.147, allocations: 43.62 kB / 0.6623 GB, free: 1.133 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.131e-05/0.147, allocations: 43.34 kB / 0.6624 GB, free: 1.082 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1472, allocations: 0.4885 MB / 0.6628 GB, free: 0.582 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.902e-05/0.1472, allocations: 15.98 kB / 0.6629 GB, free: 0.5664 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.698e-05/0.1472, allocations: 11.98 kB / 0.6629 GB, free: 0.5547 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.569e-05/0.1473, allocations: 42.19 kB / 0.6629 GB, free: 0.5117 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1473, allocations: 0 / 0.6629 GB, free: 0.5117 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001419/0.1474, allocations: 101.6 kB / 0.663 GB, free: 416 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1474, allocations: 7.938 kB / 0.663 GB, free: 408 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1474, allocations: 0 / 0.663 GB, free: 408 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1475, allocations: 0 / 0.663 GB, free: 408 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.501e-05/0.1475, allocations: 27.92 kB / 0.663 GB, free: 380 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.1475, allocations: 0 / 0.663 GB, free: 380 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.863e-05/0.1476, allocations: 12 kB / 0.663 GB, free: 368 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.1476, allocations: 4 kB / 0.6631 GB, free: 364 kB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (14): * Single equations (assignments): 14 * 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 7.616e-05/0.1476, allocations: 160.6 kB / 0.6632 GB, free: 192 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.1477, allocations: 19.89 kB / 0.6632 GB, free: 172 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000163/0.1478, allocations: 111.1 kB / 0.6633 GB, free: 56 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.1478, allocations: 4 kB / 0.6633 GB, free: 52 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.1478, allocations: 4 kB / 0.6633 GB, free: 48 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1478, allocations: 0 / 0.6633 GB, free: 48 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.148, allocations: 113.2 kB / 0.6634 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.148, allocations: 0 / 0.6634 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.795e-05/0.148, allocations: 23.98 kB / 0.6635 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.148, allocations: 0 / 0.6635 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.148, allocations: 8 kB / 0.6635 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.148, allocations: 0 / 0.6635 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.1481, allocations: 3.938 kB / 0.6635 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.1482, allocations: 152.2 kB / 0.6636 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.937e-05/0.1483, allocations: 7.984 kB / 0.6636 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.1483, allocations: 8 kB / 0.6636 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.401e-05/0.1484, allocations: 4 kB / 0.6636 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.056e-05/0.1484, allocations: 11.92 kB / 0.6637 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.1484, allocations: 11.98 kB / 0.6637 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.395e-05/0.1484, allocations: 119.2 kB / 0.6638 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.1484, allocations: 0 / 0.6638 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001319/0.1497, allocations: 0.5621 MB / 0.6643 GB, free: 14.98 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * 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 (11): * Single equations (assignments): 11 * 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.002034/0.1518, allocations: 382.9 kB / 0.6647 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001199/0.1519, allocations: 66.41 kB / 0.6648 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1519, allocations: 0 / 0.6648 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.972e-05/0.1519, allocations: 32.7 kB / 0.6648 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.1521, allocations: 29.66 kB / 0.6648 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000573/0.1527, allocations: 285.2 kB / 0.6651 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.203e-05/0.1527, allocations: 63.34 kB / 0.6651 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.439e-05/0.1528, allocations: 20.61 kB / 0.6652 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.898e-05/0.1528, allocations: 102.2 kB / 0.6653 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of SimCode: time 9.72e-07/0.1528, allocations: 4 kB / 0.6653 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of Templates: time 0.2796/0.4324, allocations: 27.01 MB / 0.6916 GB, free: 61.68 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.630160855129361]