Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008042/0.0008042, allocations: 100.4 kB / 19.7 MB, free: 452 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.0008028/0.0008028, allocations: 212.1 kB / 23 MB, free: 2.98 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 0.9005/0.9005, allocations: 230.6 MB / 256.8 MB, free: 9.629 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7366/0.7366, allocations: 203.8 MB / 0.5049 GB, free: 10.49 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Media.Examples.SteamDerivativeCheck") translateModel(IDEAS.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000938/0.000938, allocations: 67.84 kB / 0.7194 GB, free: 3.633 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4911/0.492, allocations: 102 MB / 0.819 GB, free: 1.352 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.001862/0.4939, allocations: 1.272 MB / 0.8202 GB, free: 468 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1186/0.6124, allocations: 120.9 MB / 0.9383 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.997e-05/0.6125, allocations: 0 / 0.9383 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.784e-05/0.6125, allocations: 0 / 0.9383 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.651e-05/0.6126, allocations: 11.92 kB / 0.9383 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.6139, allocations: 472.7 kB / 0.9388 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.964e-05/0.614, allocations: 35.91 kB / 0.9388 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.051e-05/0.614, allocations: 8 kB / 0.9388 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.98e-05/0.6141, allocations: 15.92 kB / 0.9388 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.564e-05/0.6142, allocations: 23.91 kB / 0.9388 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.6142, allocations: 4 kB / 0.9388 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009504/0.6151, allocations: 0.7958 MB / 0.9396 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.822e-05/0.6151, allocations: 7.984 kB / 0.9396 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.719e-05/0.6152, allocations: 19.92 kB / 0.9396 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004169/0.6156, allocations: 446 kB / 0.9401 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.6156, allocations: 0 / 0.9401 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.073e-06/0.6156, allocations: 0 / 0.9401 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.6156, allocations: 4 kB / 0.9401 GB, free: 9.215 MB / 0.7136 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.0004061/0.616, allocations: 302.1 kB / 0.9404 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.616, allocations: 12.03 kB / 0.9404 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.6162, allocations: 12.92 kB / 0.9404 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.026e-05/0.6163, allocations: 106.5 kB / 0.9405 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.6163, allocations: 384 / 0.9405 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.6163, allocations: 16.08 kB / 0.9405 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.6164, allocations: 134.8 kB / 0.9406 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.6164, allocations: 3.938 kB / 0.9406 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.6165, allocations: 0 / 0.9406 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.6165, allocations: 7.984 kB / 0.9406 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.056e-05/0.6165, allocations: 23.92 kB / 0.9407 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001242/0.6167, allocations: 109.3 kB / 0.9408 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.433e-05/0.6167, allocations: 46.56 kB / 0.9408 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.637e-05/0.6168, allocations: 20.84 kB / 0.9408 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005546/0.6223, allocations: 2.86 MB / 0.9436 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.6223, allocations: 38.5 kB / 0.9437 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.664e-06/0.6223, allocations: 0 / 0.9437 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0221/0.6444, allocations: 14.93 MB / 0.9582 GB, free: 6.348 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.6445, allocations: 51.41 kB / 0.9583 GB, free: 6.285 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.072e-05/0.6445, allocations: 97.86 kB / 0.9584 GB, free: 6.18 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.6446, allocations: 25.7 kB / 0.9584 GB, free: 6.148 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.239e-05/0.6446, allocations: 80.14 kB / 0.9585 GB, free: 6.066 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/0.6446, allocations: 47.58 kB / 0.9585 GB, free: 6.02 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.496e-05/0.6447, allocations: 33.7 kB / 0.9586 GB, free: 5.98 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.866e-05/0.6447, allocations: 319 kB / 0.9589 GB, free: 5.66 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.633e-05/0.6448, allocations: 23.98 kB / 0.9589 GB, free: 5.637 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.895e-05/0.6448, allocations: 23.98 kB / 0.9589 GB, free: 5.613 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.791e-05/0.6449, allocations: 64.36 kB / 0.959 GB, free: 5.551 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.6449, allocations: 3.938 kB / 0.959 GB, free: 5.547 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001428/0.6451, allocations: 105.6 kB / 0.9591 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.6451, allocations: 6.344 kB / 0.9591 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.6451, allocations: 0 / 0.9591 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.6451, allocations: 4 kB / 0.9591 GB, free: 5.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.465e-05/0.6452, allocations: 23.98 kB / 0.9591 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.6452, allocations: 0 / 0.9591 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.715e-05/0.6452, allocations: 8 kB / 0.9591 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.6452, allocations: 4 kB / 0.9591 GB, free: 5.395 MB / 0.7292 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 6.792e-05/0.6453, allocations: 121.7 kB / 0.9592 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.6453, allocations: 3.953 kB / 0.9592 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003527/0.6457, allocations: 125.4 kB / 0.9594 GB, free: 5.133 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.6457, allocations: 0 / 0.9594 GB, free: 5.133 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.6457, allocations: 8 kB / 0.9594 GB, free: 5.125 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.6457, allocations: 0 / 0.9594 GB, free: 5.125 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.094e-05/0.6458, allocations: 121.2 kB / 0.9595 GB, free: 4.977 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.6458, allocations: 0 / 0.9595 GB, free: 4.977 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.155e-05/0.6458, allocations: 31.92 kB / 0.9595 GB, free: 4.945 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.6459, allocations: 4 kB / 0.9595 GB, free: 4.941 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.6459, allocations: 0 / 0.9595 GB, free: 4.941 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.6459, allocations: 0 / 0.9595 GB, free: 4.941 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.6459, allocations: 0 / 0.9595 GB, free: 4.941 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.6461, allocations: 158.8 kB / 0.9597 GB, free: 4.77 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.6461, allocations: 15.98 kB / 0.9597 GB, free: 4.754 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.6461, allocations: 8 kB / 0.9597 GB, free: 4.746 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.232e-05/0.6462, allocations: 11.98 kB / 0.9597 GB, free: 4.734 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/0.6462, allocations: 7.984 kB / 0.9597 GB, free: 4.727 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.6462, allocations: 12 kB / 0.9597 GB, free: 4.715 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.316e-05/0.6462, allocations: 75.28 kB / 0.9598 GB, free: 4.641 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.6462, allocations: 0 / 0.9598 GB, free: 4.641 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001536/0.6478, allocations: 0.5699 MB / 0.9603 GB, free: 4.07 MB / 0.7292 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.002103/0.6499, allocations: 358.8 kB / 0.9607 GB, free: 3.711 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001432/0.65, allocations: 63.92 kB / 0.9608 GB, free: 3.648 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.65, allocations: 0 / 0.9608 GB, free: 3.648 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.619e-05/0.6501, allocations: 35.92 kB / 0.9608 GB, free: 3.613 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.6502, allocations: 11.94 kB / 0.9608 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004929/0.6507, allocations: 371.9 kB / 0.9612 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.218e-05/0.6507, allocations: 67.34 kB / 0.9612 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.923e-05/0.6508, allocations: 23.44 kB / 0.9612 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of SimCode: time 5.01e-07/0.6508, allocations: 0 / 0.9612 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of Templates: time 0.01776/0.6685, allocations: 14.42 MB / 0.9753 GB, free: 4.727 MB / 0.7448 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.208941237069666] Failed to read output from testmodel.py, exit status != 0: 0.6748796510510147 0.683486816 0.066045624 Calling exit ...