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.0007616/0.0007616, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001057/0.001818, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.000755/0.000755, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009692/0.001724, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.014/1.014, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09325/1.107, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.7601/0.7601, allocations: 154.6 MB / 398.8 MB, free: 388 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.286/1.046, allocations: 49.05 MB / 447.8 MB, free: 6.582 MB / 426.7 MB " [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.784e-06/1.784e-06, allocations: 0 / 449.1 MB, free: 5.305 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.291e-05, allocations: 4.656 kB / 449.1 MB, free: 5.301 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002656/0.002679, allocations: 1.348 MB / 450.5 MB, free: 3.977 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1153/0.118, allocations: 133.3 MB / 0.57 GB, free: 14.69 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.448e-05/0.118, allocations: 0 / 0.57 GB, free: 14.69 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.273e-05/0.1181, allocations: 3.938 kB / 0.57 GB, free: 14.69 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.412e-05/0.1181, allocations: 3.938 kB / 0.57 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009966/0.1191, allocations: 434.6 kB / 0.5705 GB, free: 14.26 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.448e-05/0.1192, allocations: 35.86 kB / 0.5705 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.52e-05/0.1192, allocations: 7.984 kB / 0.5705 GB, free: 14.21 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.266e-05/0.1193, allocations: 27.97 kB / 0.5705 GB, free: 14.19 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.736e-05/0.1193, allocations: 23.91 kB / 0.5706 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.1193, allocations: 0 / 0.5706 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.1205, allocations: 0.8426 MB / 0.5714 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.223e-05/0.1205, allocations: 4 kB / 0.5714 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.184e-05/0.1205, allocations: 8 kB / 0.5714 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0005283/0.1211, allocations: 423.2 kB / 0.5718 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.555e-05/0.1211, allocations: 0 / 0.5718 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1211, allocations: 0 / 0.5718 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.491e-05/0.1211, allocations: 0 / 0.5718 GB, free: 12.89 MB / 0.5573 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.0004661/0.1216, allocations: 298.5 kB / 0.5721 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.1216, allocations: 8.031 kB / 0.5721 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001871/0.1218, allocations: 109.9 kB / 0.5722 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.782e-05/0.1219, allocations: 105.8 kB / 0.5723 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.1219, allocations: 384 / 0.5723 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.1219, allocations: 13.36 kB / 0.5723 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.122, allocations: 131.3 kB / 0.5724 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.122, allocations: 3.938 kB / 0.5724 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-06/0.122, allocations: 0 / 0.5724 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.122, allocations: 0 / 0.5724 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.103e-05/0.1221, allocations: 19.91 kB / 0.5725 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.058e-05/0.1222, allocations: 73.03 kB / 0.5725 GB, free: 12.05 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.975e-05/0.1222, allocations: 47.41 kB / 0.5726 GB, free: 11.99 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.56e-05/0.1222, allocations: 8.859 kB / 0.5726 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004231/0.1265, allocations: 2.451 MB / 0.575 GB, free: 9.527 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.1265, allocations: 42.48 kB / 0.575 GB, free: 9.477 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.1265, allocations: 0 / 0.575 GB, free: 9.477 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.01402/0.1405, allocations: 6.399 MB / 0.5813 GB, free: 2.957 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.1406, allocations: 59.41 kB / 0.5813 GB, free: 2.887 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.275e-05/0.1406, allocations: 98.66 kB / 0.5814 GB, free: 2.777 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.1406, allocations: 25.83 kB / 0.5814 GB, free: 2.746 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.156e-05/0.1406, allocations: 84.14 kB / 0.5815 GB, free: 2.66 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/0.1407, allocations: 47.62 kB / 0.5816 GB, free: 2.613 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.1407, allocations: 33.69 kB / 0.5816 GB, free: 2.574 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.741e-05/0.1408, allocations: 322.8 kB / 0.5819 GB, free: 2.25 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.408e-05/0.1408, allocations: 8 kB / 0.5819 GB, free: 2.242 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.14e-05/0.1408, allocations: 15.98 kB / 0.5819 GB, free: 2.227 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.916e-05/0.1409, allocations: 42.7 kB / 0.582 GB, free: 2.184 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1409, allocations: 0 / 0.582 GB, free: 2.184 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001109/0.141, allocations: 73.55 kB / 0.582 GB, free: 2.105 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.141, allocations: 4 kB / 0.582 GB, free: 2.102 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.141, allocations: 11.94 kB / 0.582 GB, free: 2.09 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.141, allocations: 0 / 0.582 GB, free: 2.09 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.036e-05/0.1411, allocations: 27.98 kB / 0.5821 GB, free: 2.062 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.1411, allocations: 4 kB / 0.5821 GB, free: 2.059 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.63e-05/0.1411, allocations: 4 kB / 0.5821 GB, free: 2.055 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.1411, allocations: 0 / 0.5821 GB, free: 2.055 MB / 0.5573 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 5.614e-05/0.1412, allocations: 117.8 kB / 0.5822 GB, free: 1.93 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.1412, allocations: 15.88 kB / 0.5822 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001495/0.1414, allocations: 105.4 kB / 0.5823 GB, free: 1.797 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1414, allocations: 0 / 0.5823 GB, free: 1.797 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.1414, allocations: 0 / 0.5823 GB, free: 1.797 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1414, allocations: 0 / 0.5823 GB, free: 1.797 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.78e-05/0.1415, allocations: 81.88 kB / 0.5824 GB, free: 1.699 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1415, allocations: 0 / 0.5824 GB, free: 1.699 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.353e-05/0.1415, allocations: 31.98 kB / 0.5824 GB, free: 1.668 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.982e-05/0.1416, allocations: 4 kB / 0.5824 GB, free: 1.664 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1416, allocations: 0 / 0.5824 GB, free: 1.664 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.1416, allocations: 4 kB / 0.5824 GB, free: 1.66 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.1416, allocations: 19.86 kB / 0.5824 GB, free: 1.641 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1416, allocations: 0 / 0.5824 GB, free: 1.641 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.1417, allocations: 119.6 kB / 0.5826 GB, free: 1.508 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.1418, allocations: 4 kB / 0.5826 GB, free: 1.504 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.12e-05/0.1418, allocations: 8.031 kB / 0.5826 GB, free: 1.496 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/0.1418, allocations: 19.91 kB / 0.5826 GB, free: 1.477 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.1418, allocations: 0 / 0.5826 GB, free: 1.477 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 9.308e-06/0.1418, allocations: 4.859 kB / 0.5826 GB, free: 1.469 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1418, allocations: 4.094 kB / 0.5826 GB, free: 1.465 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001482/0.1433, allocations: 0.5699 MB / 0.5832 GB, free: 0.8945 MB / 0.5573 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.001814/0.1451, allocations: 387.8 kB / 0.5835 GB, free: 0.5078 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.1452, allocations: 49.89 kB / 0.5836 GB, free: 468 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/0.1452, allocations: 4 kB / 0.5836 GB, free: 464 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.744e-05/0.1453, allocations: 36.83 kB / 0.5836 GB, free: 424 kB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001296/0.1454, allocations: 34.36 kB / 0.5836 GB, free: 392 kB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008849/0.1463, allocations: 203.4 kB / 0.5838 GB, free: 164 kB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.881e-05/0.1463, allocations: 59.34 kB / 0.5839 GB, free: 84 kB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.419e-05/0.1464, allocations: 28.59 kB / 0.5839 GB, free: 56 kB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.869e-05/0.1465, allocations: 75.36 kB / 0.584 GB, free: 15.98 MB / 0.573 GB Notification: Performance of SimCode: time 5.31e-07/0.1465, allocations: 4 kB / 0.584 GB, free: 15.98 MB / 0.573 GB Notification: Performance of Templates: time 0.02933/0.1758, allocations: 25.9 MB / 0.6093 GB, free: 6.148 MB / 0.5886 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: 4.136368094943464]