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.0007487/0.0007487, allocations: 114.4 kB / 19.7 MB, free: 0.5312 MB / 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.0007294/0.0007294, allocations: 211.8 kB / 23 MB, free: 3.129 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.8945/0.8945, allocations: 230.6 MB / 256.8 MB, free: 3.465 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.7669/0.7669, allocations: 203.8 MB / 0.5049 GB, free: 0.6875 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.001433/0.001433, allocations: 63.91 kB / 0.7194 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4535/0.455, allocations: 102 MB / 0.8191 GB, free: 25.18 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.0019/0.4569, allocations: 1.281 MB / 0.8203 GB, free: 24.29 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.1253/0.5821, allocations: 141 MB / 0.958 GB, free: 4.488 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.085e-05/0.5822, allocations: 0 / 0.958 GB, free: 4.488 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.384e-05/0.5822, allocations: 4 kB / 0.958 GB, free: 4.484 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.126e-05/0.5823, allocations: 3.938 kB / 0.958 GB, free: 4.48 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.5835, allocations: 474.1 kB / 0.9584 GB, free: 4.02 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.509e-05/0.5836, allocations: 43.83 kB / 0.9585 GB, free: 3.977 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.845e-05/0.5836, allocations: 4 kB / 0.9585 GB, free: 3.973 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.237e-05/0.5837, allocations: 23.92 kB / 0.9585 GB, free: 3.949 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.309e-05/0.5837, allocations: 23.91 kB / 0.9585 GB, free: 3.926 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 9.809e-06/0.5837, allocations: 0 / 0.9585 GB, free: 3.926 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001059/0.5848, allocations: 0.831 MB / 0.9594 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.533e-05/0.5848, allocations: 7.984 kB / 0.9594 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.205e-05/0.5849, allocations: 15.92 kB / 0.9594 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000444/0.5853, allocations: 457.9 kB / 0.9598 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.5853, allocations: 0 / 0.9598 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5853, allocations: 0 / 0.9598 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.5853, allocations: 7.938 kB / 0.9598 GB, free: 2.617 MB / 0.7292 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.0003854/0.5857, allocations: 294.1 kB / 0.9601 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.5857, allocations: 17.45 kB / 0.9601 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.5859, allocations: 8.938 kB / 0.9601 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.85e-05/0.5859, allocations: 106.5 kB / 0.9602 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.5859, allocations: 4.375 kB / 0.9602 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.586, allocations: 16.08 kB / 0.9602 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.5861, allocations: 53.66 kB / 0.9603 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.5861, allocations: 4 kB / 0.9603 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.5861, allocations: 4 kB / 0.9603 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.5861, allocations: 3.938 kB / 0.9603 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.785e-05/0.5862, allocations: 19.98 kB / 0.9603 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001337/0.5863, allocations: 132.7 kB / 0.9605 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.817e-05/0.5864, allocations: 50.5 kB / 0.9605 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.425e-05/0.5864, allocations: 20.78 kB / 0.9605 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004969/0.5914, allocations: 2.856 MB / 0.9633 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.5914, allocations: 38.55 kB / 0.9633 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.5914, allocations: 3.938 kB / 0.9634 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.02035/0.6117, allocations: 14.92 MB / 0.9779 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.6118, allocations: 55.41 kB / 0.978 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.336e-05/0.6118, allocations: 93.86 kB / 0.9781 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.6118, allocations: 25.7 kB / 0.9781 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 2.282e-05/0.6119, allocations: 84.14 kB / 0.9782 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.6119, allocations: 43.58 kB / 0.9782 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.6119, allocations: 33.7 kB / 0.9782 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 7.679e-05/0.612, allocations: 322.7 kB / 0.9786 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.121e-05/0.612, allocations: 24.11 kB / 0.9786 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.877e-05/0.6121, allocations: 31.36 kB / 0.9786 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.341e-05/0.6122, allocations: 52.86 kB / 0.9787 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.6122, allocations: 0 / 0.9787 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001383/0.6123, allocations: 117.6 kB / 0.9788 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.6123, allocations: 4 kB / 0.9788 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.6123, allocations: 0 / 0.9788 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.6123, allocations: 0 / 0.9788 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.883e-05/0.6124, allocations: 23.98 kB / 0.9788 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.6124, allocations: 0 / 0.9788 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.669e-05/0.6124, allocations: 12 kB / 0.9788 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.6124, allocations: 0 / 0.9788 GB, free: 14.87 MB / 0.7605 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.171e-05/0.6125, allocations: 122.7 kB / 0.9789 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/0.6125, allocations: 4 kB / 0.9789 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001694/0.6127, allocations: 123.1 kB / 0.979 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.6127, allocations: 4 kB / 0.979 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.6127, allocations: 0 / 0.979 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.6127, allocations: 0 / 0.979 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.581e-05/0.6128, allocations: 152.7 kB / 0.9792 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.6128, allocations: 0 / 0.9792 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.479e-05/0.6129, allocations: 27.92 kB / 0.9792 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.6129, allocations: 0 / 0.9792 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.6129, allocations: 8 kB / 0.9792 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.6129, allocations: 7.922 kB / 0.9792 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.6129, allocations: 4 kB / 0.9792 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.6131, allocations: 156.9 kB / 0.9794 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 3.844e-05/0.6131, allocations: 11.98 kB / 0.9794 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.6131, allocations: 8 kB / 0.9794 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.767e-05/0.6132, allocations: 12.08 kB / 0.9794 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.633e-05/0.6132, allocations: 7.969 kB / 0.9794 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.6132, allocations: 8 kB / 0.9794 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 2.512e-05/0.6133, allocations: 87.27 kB / 0.9795 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.6133, allocations: 3.938 kB / 0.9795 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001357/0.6146, allocations: 0.566 MB / 0.9801 GB, free: 13.49 MB / 0.7605 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.001902/0.6165, allocations: 346.8 kB / 0.9804 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001401/0.6167, allocations: 64.78 kB / 0.9805 GB, free: 13.08 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6167, allocations: 0 / 0.9805 GB, free: 13.08 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 3.523e-05/0.6167, allocations: 35.92 kB / 0.9805 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.6168, allocations: 7.938 kB / 0.9805 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004575/0.6173, allocations: 374.6 kB / 0.9809 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.6175, allocations: 0.6885 MB / 0.9815 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.6175, allocations: 19.44 kB / 0.9816 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of SimCode: time 2.314e-06/0.6175, allocations: 0 / 0.9816 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of Templates: time 0.01556/0.6331, allocations: 14.4 MB / 0.9956 GB, free: 13.56 MB / 0.7761 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.31852411897853] Failed to read output from testmodel.py, exit status != 0: 0.639944126131013 0.6468703880000001 0.059759786 Calling exit ...