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.001501/0.001501, allocations: 79.2 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001697/0.001697, allocations: 165.2 kB / 22.46 MB, free: 5.375 MB / 14.72 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.489/1.489, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 1.194/1.194, allocations: 154.6 MB / 413.7 MB, free: 5.297 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 178] 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: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.6185 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.644e-05/3.832e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.003046/0.003084, allocations: 1.273 MB / 0.6197 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.659/0.6621, allocations: 120.9 MB / 0.7378 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.434e-05/0.6621, allocations: 0 / 0.7378 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.101e-05/0.6622, allocations: 1.203 kB / 0.7378 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.265e-05/0.6622, allocations: 11.3 kB / 0.7378 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.6641, allocations: 462.9 kB / 0.7383 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.6642, allocations: 37.19 kB / 0.7383 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.266e-05/0.6642, allocations: 11 kB / 0.7383 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.181e-05/0.6643, allocations: 26.48 kB / 0.7383 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.629e-05/0.6644, allocations: 17.62 kB / 0.7384 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.6644, allocations: 1.375 kB / 0.7384 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001706/0.6661, allocations: 0.7998 MB / 0.7391 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.586e-05/0.6661, allocations: 14.02 kB / 0.7392 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.626e-05/0.6662, allocations: 11.42 kB / 0.7392 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009206/0.6671, allocations: 0.5637 MB / 0.7397 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.6671, allocations: 1.203 kB / 0.7397 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.335e-06/0.6671, allocations: 1.219 kB / 0.7397 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.333e-05/0.6671, allocations: 3.938 kB / 0.7397 GB, free: 7.039 MB / 0.6075 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.0005239/0.6676, allocations: 296.4 kB / 0.74 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.6677, allocations: 15 kB / 0.74 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002152/0.6679, allocations: 15.73 kB / 0.74 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.815e-05/0.668, allocations: 103.2 kB / 0.7401 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.668, allocations: 6.188 kB / 0.7401 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.668, allocations: 8.766 kB / 0.7401 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.6682, allocations: 136.2 kB / 0.7403 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.6682, allocations: 0 / 0.7403 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.6682, allocations: 5.125 kB / 0.7403 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.6683, allocations: 1.25 kB / 0.7403 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.497e-05/0.6683, allocations: 25.02 kB / 0.7403 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.6685, allocations: 110.8 kB / 0.7404 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.6686, allocations: 52.73 kB / 0.7405 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.178e-05/0.6686, allocations: 14.83 kB / 0.7405 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01172/0.6803, allocations: 2.868 MB / 0.7433 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.949e-05/0.6804, allocations: 32.03 kB / 0.7433 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 2.234e-06/0.6804, allocations: 0 / 0.7433 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0464/0.7268, allocations: 14.94 MB / 0.7579 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.7268, allocations: 57.56 kB / 0.758 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.699e-05/0.7269, allocations: 89.86 kB / 0.758 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.7269, allocations: 31.95 kB / 0.7581 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 1.613e-05/0.7269, allocations: 80.14 kB / 0.7581 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/0.727, allocations: 44.88 kB / 0.7582 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.727, allocations: 31.36 kB / 0.7582 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 5.443e-05/0.7271, allocations: 314.4 kB / 0.7585 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.116e-05/0.7271, allocations: 23.95 kB / 0.7585 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.8e-05/0.7272, allocations: 23.92 kB / 0.7586 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.7273, allocations: 61.2 kB / 0.7586 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.7273, allocations: 2.156 kB / 0.7586 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001967/0.7275, allocations: 114.5 kB / 0.7587 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.7275, allocations: 6.438 kB / 0.7587 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.7275, allocations: 2.688 kB / 0.7587 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.7275, allocations: 0 / 0.7587 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.7276, allocations: 25.64 kB / 0.7588 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.7276, allocations: 2.906 kB / 0.7588 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.531e-05/0.7277, allocations: 0 / 0.7588 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.7277, allocations: 5.875 kB / 0.7588 GB, free: 2.758 MB / 0.6075 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.051e-05/0.7277, allocations: 117 kB / 0.7589 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.177e-05/0.7278, allocations: 9.188 kB / 0.7589 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/0.728, allocations: 125 kB / 0.759 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.728, allocations: 0 / 0.759 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.728, allocations: 0.8125 kB / 0.759 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.728, allocations: 3.609 kB / 0.759 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.274e-05/0.7281, allocations: 117.9 kB / 0.7591 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7281, allocations: 6.625 kB / 0.7591 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.7282, allocations: 25.3 kB / 0.7592 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.7282, allocations: 3.406 kB / 0.7592 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.7283, allocations: 6.688 kB / 0.7592 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.7283, allocations: 0 / 0.7592 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.7283, allocations: 0 / 0.7592 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.7285, allocations: 160 kB / 0.7593 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.7286, allocations: 15.22 kB / 0.7593 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.7286, allocations: 6.125 kB / 0.7593 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.7287, allocations: 19.95 kB / 0.7594 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/0.7288, allocations: 6.641 kB / 0.7594 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.7288, allocations: 8.375 kB / 0.7594 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 1.839e-05/0.7288, allocations: 75.28 kB / 0.7595 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.7288, allocations: 0 / 0.7595 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00253/0.7313, allocations: 0.5668 MB / 0.76 GB, free: 2.227 MB / 0.6075 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.003461/0.7348, allocations: 395.5 kB / 0.7604 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002411/0.735, allocations: 69.8 kB / 0.7604 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.735, allocations: 0 / 0.7604 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.824e-05/0.7351, allocations: 33.69 kB / 0.7605 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.7353, allocations: 10.36 kB / 0.7605 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005568/0.7359, allocations: 268.2 kB / 0.7607 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.369e-05/0.7359, allocations: 75.11 kB / 0.7608 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.8e-05/0.736, allocations: 29.02 kB / 0.7608 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.271e-05/0.736, allocations: 19.28 kB / 0.7609 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of SimCode: time 5.01e-07/0.736, allocations: 0 / 0.7609 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of Templates: time 0.04358/0.7796, allocations: 24.3 MB / 0.7846 GB, free: 1.703 MB / 0.6231 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: 10.191639270633459] Failed to read output from testmodel.py, exit status != 0: 0.7892823405563831 0.805085092 0.13476876799999996 Calling exit ...