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.0008333/0.0008333, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0009576/0.0009576, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.9161/0.9161, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.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.6889/0.6889, allocations: 154.6 MB / 414.5 MB, free: 0.8008 MB / 378.7 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 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: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.6192 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.224e-05, allocations: 2.281 kB / 0.6192 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002159/0.002181, allocations: 1.263 MB / 0.6205 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.3776/0.3798, allocations: 120.9 MB / 0.7386 GB, free: 25.18 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.247e-05/0.3799, allocations: 0 / 0.7386 GB, free: 25.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.381e-05/0.3799, allocations: 0 / 0.7386 GB, free: 25.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.112e-05/0.38, allocations: 20.36 kB / 0.7386 GB, free: 25.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.3817, allocations: 456.8 kB / 0.739 GB, free: 25.02 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.3818, allocations: 41.25 kB / 0.7391 GB, free: 25 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.399e-05/0.3819, allocations: 7.031 kB / 0.7391 GB, free: 25 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.589e-05/0.3819, allocations: 32.72 kB / 0.7391 GB, free: 24.98 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.872e-05/0.382, allocations: 15.42 kB / 0.7391 GB, free: 24.98 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.382, allocations: 5.25 kB / 0.7391 GB, free: 24.98 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001472/0.3835, allocations: 0.795 MB / 0.7399 GB, free: 24.81 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.552e-05/0.3835, allocations: 12.69 kB / 0.7399 GB, free: 24.8 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.73e-05/0.3836, allocations: 12.95 kB / 0.7399 GB, free: 24.8 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0009252/0.3845, allocations: 0.5671 MB / 0.7405 GB, free: 24.64 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3845, allocations: 0 / 0.7405 GB, free: 24.64 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3845, allocations: 0 / 0.7405 GB, free: 24.64 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.3845, allocations: 1.219 kB / 0.7405 GB, free: 24.64 MB / 0.6355 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.0005514/0.385, allocations: 293.2 kB / 0.7408 GB, free: 24.36 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.3851, allocations: 9.969 kB / 0.7408 GB, free: 24.36 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.3852, allocations: 11.69 kB / 0.7408 GB, free: 24.36 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.762e-05/0.3853, allocations: 111.1 kB / 0.7409 GB, free: 24.23 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.3853, allocations: 9.031 kB / 0.7409 GB, free: 24.23 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.3854, allocations: 7.984 kB / 0.7409 GB, free: 24.22 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.3855, allocations: 135.9 kB / 0.741 GB, free: 24.09 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.3855, allocations: 0 / 0.741 GB, free: 24.09 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.3855, allocations: 5.094 kB / 0.741 GB, free: 24.08 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3855, allocations: 1.062 kB / 0.741 GB, free: 24.08 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.589e-05/0.3856, allocations: 22.66 kB / 0.7411 GB, free: 24.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000109/0.3857, allocations: 106 kB / 0.7412 GB, free: 23.95 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.37e-05/0.3858, allocations: 56.38 kB / 0.7412 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.501e-05/0.3858, allocations: 14.98 kB / 0.7412 GB, free: 23.9 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006076/0.3919, allocations: 2.869 MB / 0.744 GB, free: 23.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.3919, allocations: 37.08 kB / 0.7441 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.3919, allocations: 0 / 0.7441 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.02484/0.4168, allocations: 14.92 MB / 0.7586 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.4168, allocations: 57.53 kB / 0.7587 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.651e-05/0.4168, allocations: 99.11 kB / 0.7588 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.247e-06/0.4168, allocations: 30.98 kB / 0.7588 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.054e-05/0.4168, allocations: 85.38 kB / 0.7589 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.4169, allocations: 44.23 kB / 0.7589 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.4169, allocations: 28.94 kB / 0.759 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.273e-05/0.4169, allocations: 315 kB / 0.7593 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.144e-05/0.417, allocations: 24.81 kB / 0.7593 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.421e-05/0.417, allocations: 23.28 kB / 0.7593 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.754e-05/0.4171, allocations: 60.45 kB / 0.7594 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.4171, allocations: 0 / 0.7594 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001332/0.4172, allocations: 109 kB / 0.7595 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.4172, allocations: 12.88 kB / 0.7595 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.4172, allocations: 0.7031 kB / 0.7595 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.4173, allocations: 1.688 kB / 0.7595 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.39e-05/0.4173, allocations: 26.61 kB / 0.7595 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.4173, allocations: 0 / 0.7595 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.65e-05/0.4174, allocations: 6.016 kB / 0.7595 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.4174, allocations: 3.5 kB / 0.7595 GB, free: 20.87 MB / 0.6355 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 4.698e-05/0.4174, allocations: 115.3 kB / 0.7596 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.4174, allocations: 7.203 kB / 0.7596 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001804/0.4176, allocations: 128.4 kB / 0.7598 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.4176, allocations: 2.062 kB / 0.7598 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4176, allocations: 1.312 kB / 0.7598 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4176, allocations: 4.641 kB / 0.7598 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.014e-05/0.4177, allocations: 113.2 kB / 0.7599 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4177, allocations: 0.7812 kB / 0.7599 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.704e-05/0.4178, allocations: 22.73 kB / 0.7599 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4178, allocations: 1.062 kB / 0.7599 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.4178, allocations: 14.83 kB / 0.7599 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.4178, allocations: 0 / 0.7599 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4178, allocations: 1.938 kB / 0.7599 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.418, allocations: 163.6 kB / 0.7601 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.186e-05/0.418, allocations: 13.83 kB / 0.7601 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.418, allocations: 6.547 kB / 0.7601 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.048e-05/0.4181, allocations: 14.72 kB / 0.7601 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.09e-05/0.4181, allocations: 7.688 kB / 0.7601 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.4181, allocations: 12.25 kB / 0.7601 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.192e-05/0.4182, allocations: 77.39 kB / 0.7602 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4182, allocations: 0 / 0.7602 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001661/0.4198, allocations: 0.5643 MB / 0.7607 GB, free: 20.29 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.00208/0.4219, allocations: 390.2 kB / 0.7611 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001273/0.422, allocations: 64.19 kB / 0.7612 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.422, allocations: 1.281 kB / 0.7612 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.653e-05/0.4221, allocations: 33.78 kB / 0.7612 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.4222, allocations: 16.22 kB / 0.7612 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003855/0.4226, allocations: 299.9 kB / 0.7615 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.728e-05/0.4226, allocations: 70.73 kB / 0.7616 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.4227, allocations: 21.09 kB / 0.7616 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of SimCode: time 7.02e-07/0.4227, allocations: 0 / 0.7616 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of Templates: time 0.01547/0.4381, allocations: 14.45 MB / 0.7757 GB, free: 15.57 MB / 0.6355 GB " [Timeout remaining time 660] 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.101222662255168] Failed to read output from testmodel.py, exit status != 0: 0.44477470219135284 0.45476509600000004 0.06789231500000001 Calling exit ...