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.0008989/0.0008989, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001119/0.001119, allocations: 222.3 kB / 22.26 MB, free: 3.688 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.9998/0.9998, allocations: 230.6 MB / 256 MB, free: 9.801 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.8361/0.8361, allocations: 203.8 MB / 0.5042 GB, free: 10.75 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: "" <> buildModelFMU(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [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.001539/0.001539, allocations: 67.22 kB / 0.7182 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5804/0.582, allocations: 102 MB / 0.8178 GB, free: 1.277 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.001838/0.5838, allocations: 1.286 MB / 0.8191 GB, free: 380 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1335/0.7173, allocations: 141 MB / 0.9568 GB, free: 7.262 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.989e-05/0.7173, allocations: 7.938 kB / 0.9568 GB, free: 7.254 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.703e-05/0.7173, allocations: 0 / 0.9568 GB, free: 7.254 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.863e-05/0.7174, allocations: 11.92 kB / 0.9568 GB, free: 7.242 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.7184, allocations: 462.2 kB / 0.9572 GB, free: 6.793 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.821e-05/0.7185, allocations: 47.77 kB / 0.9573 GB, free: 6.746 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.827e-05/0.7185, allocations: 4 kB / 0.9573 GB, free: 6.742 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.869e-05/0.7186, allocations: 23.98 kB / 0.9573 GB, free: 6.719 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.238e-05/0.7187, allocations: 19.91 kB / 0.9573 GB, free: 6.699 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.7187, allocations: 4 kB / 0.9573 GB, free: 6.695 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00127/0.7199, allocations: 0.8387 MB / 0.9581 GB, free: 5.855 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.931e-05/0.72, allocations: 11.97 kB / 0.9581 GB, free: 5.844 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.905e-05/0.72, allocations: 11.94 kB / 0.9582 GB, free: 5.832 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004401/0.7204, allocations: 445.4 kB / 0.9586 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.7204, allocations: 0 / 0.9586 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7204, allocations: 4 kB / 0.9586 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.7204, allocations: 0 / 0.9586 GB, free: 5.395 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.0003978/0.7208, allocations: 302 kB / 0.9589 GB, free: 5.07 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.7209, allocations: 12.03 kB / 0.9589 GB, free: 5.059 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.03e-05/0.7209, allocations: 38.73 kB / 0.9589 GB, free: 5.012 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.721, allocations: 16.92 kB / 0.9589 GB, free: 4.996 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.948e-05/0.7211, allocations: 110.5 kB / 0.959 GB, free: 4.863 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.7211, allocations: 384 / 0.959 GB, free: 4.863 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.7211, allocations: 15.89 kB / 0.9591 GB, free: 4.848 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.7212, allocations: 49.67 kB / 0.9591 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.7213, allocations: 0 / 0.9591 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.7213, allocations: 0 / 0.9591 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.7213, allocations: 7.938 kB / 0.9591 GB, free: 4.785 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.593e-05/0.7213, allocations: 23.97 kB / 0.9591 GB, free: 4.762 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001241/0.7214, allocations: 136.7 kB / 0.9593 GB, free: 4.586 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.703e-05/0.7215, allocations: 54.44 kB / 0.9593 GB, free: 4.523 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.311e-05/0.7215, allocations: 20.84 kB / 0.9593 GB, free: 4.5 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005279/0.7268, allocations: 2.856 MB / 0.9621 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.7268, allocations: 30.56 kB / 0.9622 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.7268, allocations: 3.938 kB / 0.9622 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.02174/0.7486, allocations: 14.93 MB / 0.9767 GB, free: 2.543 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.7486, allocations: 55.34 kB / 0.9768 GB, free: 2.477 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.187e-05/0.7487, allocations: 101.9 kB / 0.9769 GB, free: 2.367 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.7487, allocations: 25.7 kB / 0.9769 GB, free: 2.336 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 1.98e-05/0.7487, allocations: 80.14 kB / 0.977 GB, free: 2.254 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.7487, allocations: 43.64 kB / 0.977 GB, free: 2.211 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.7488, allocations: 33.7 kB / 0.9771 GB, free: 2.172 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.047e-05/0.7489, allocations: 314.8 kB / 0.9774 GB, free: 1.855 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.446e-05/0.7489, allocations: 27.98 kB / 0.9774 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.868e-05/0.7489, allocations: 23.98 kB / 0.9774 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.79e-05/0.749, allocations: 60.98 kB / 0.9775 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.749, allocations: 4 kB / 0.9775 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001389/0.7492, allocations: 104.3 kB / 0.9776 GB, free: 1.633 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.7492, allocations: 7.938 kB / 0.9776 GB, free: 1.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.7492, allocations: 0 / 0.9776 GB, free: 1.625 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.7492, allocations: 0 / 0.9776 GB, free: 1.625 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.122e-05/0.7493, allocations: 23.98 kB / 0.9776 GB, free: 1.602 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.7493, allocations: 4 kB / 0.9776 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.624e-05/0.7493, allocations: 4 kB / 0.9776 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.7493, allocations: 4 kB / 0.9776 GB, free: 1.59 MB / 0.7448 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.237e-05/0.7494, allocations: 117.8 kB / 0.9777 GB, free: 1.465 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.7494, allocations: 7.953 kB / 0.9777 GB, free: 1.457 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001814/0.7496, allocations: 129.3 kB / 0.9779 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.7496, allocations: 0 / 0.9779 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.7496, allocations: 0 / 0.9779 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.7496, allocations: 0 / 0.9779 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.7497, allocations: 156.7 kB / 0.978 GB, free: 1.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.7497, allocations: 4 kB / 0.978 GB, free: 1.125 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.76e-05/0.7498, allocations: 23.98 kB / 0.978 GB, free: 1.102 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.7498, allocations: 0 / 0.978 GB, free: 1.102 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.7498, allocations: 4 kB / 0.978 GB, free: 1.098 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.7498, allocations: 4.062 kB / 0.978 GB, free: 1.094 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.7498, allocations: 3.984 kB / 0.978 GB, free: 1.09 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/0.75, allocations: 157.9 kB / 0.9782 GB, free: 0.918 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.997e-05/0.75, allocations: 19.98 kB / 0.9782 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.75, allocations: 4 kB / 0.9782 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.227e-05/0.7501, allocations: 15.98 kB / 0.9782 GB, free: 0.8789 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.769e-05/0.7501, allocations: 7.984 kB / 0.9782 GB, free: 0.8711 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.7501, allocations: 4 kB / 0.9782 GB, free: 0.8672 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.61e-05/0.7502, allocations: 83.27 kB / 0.9783 GB, free: 0.7852 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.7502, allocations: 0 / 0.9783 GB, free: 0.7852 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001427/0.7516, allocations: 0.5661 MB / 0.9789 GB, free: 224 kB / 0.7448 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.002957/0.7545, allocations: 0.9381 MB / 0.9798 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001595/0.7547, allocations: 67.91 kB / 0.9799 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.7547, allocations: 0 / 0.9799 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 3.805e-05/0.7547, allocations: 28 kB / 0.9799 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.7549, allocations: 11.98 kB / 0.9799 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.7566, allocations: 1.558 MB / 0.9814 GB, free: 13.51 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000174/0.7568, allocations: 0.6962 MB / 0.9821 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 6.309e-05/0.7568, allocations: 20.55 kB / 0.9821 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.089e-05/0.7569, allocations: 19.44 kB / 0.9821 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of SimCode: time 7.32e-07/0.7569, allocations: 0 / 0.9821 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04231/0.7992, allocations: 25.64 MB / 1.007 GB, free: 3.223 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.16/7.959, allocations: 7.984 kB / 1.007 GB, free: 3.215 MB / 0.7761 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-10 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Media_Examples_SteamDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.371523594949394] Failed to read output from testmodel.py, exit status != 0: 8.050102015025914 8.061651368 7.339118505 Calling exit ...