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.0009744/0.0009744, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0008714/0.0008714, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.959/0.959, allocations: 230.6 MB / 256 MB, free: 9.59 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.8134/0.8134, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.0009447/0.0009447, allocations: 72.88 kB / 0.7181 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5719/0.5729, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.001998/0.5749, allocations: 1.27 MB / 0.819 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.131/0.7058, allocations: 120.9 MB / 0.9371 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.848e-05/0.7059, allocations: 0 / 0.9371 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.582e-05/0.7059, allocations: 3.984 kB / 0.9371 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.288e-05/0.706, allocations: 7.922 kB / 0.9371 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.7074, allocations: 458.2 kB / 0.9375 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.11e-05/0.7075, allocations: 39.86 kB / 0.9376 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.755e-05/0.7075, allocations: 11.98 kB / 0.9376 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.451e-05/0.7076, allocations: 19.92 kB / 0.9376 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.385e-05/0.7077, allocations: 23.91 kB / 0.9376 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.799e-06/0.7077, allocations: 0 / 0.9376 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.7087, allocations: 0.7958 MB / 0.9384 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.107e-05/0.7087, allocations: 8 kB / 0.9384 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.679e-05/0.7088, allocations: 19.91 kB / 0.9384 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005006/0.7093, allocations: 445.2 kB / 0.9388 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.7093, allocations: 4 kB / 0.9388 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.824e-06/0.7093, allocations: 0 / 0.9388 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.944e-06/0.7093, allocations: 0 / 0.9388 GB, free: 9.355 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.0005099/0.7098, allocations: 306 kB / 0.9391 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.7098, allocations: 12.02 kB / 0.9392 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.725e-05/0.7099, allocations: 34.75 kB / 0.9392 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.71, allocations: 8.938 kB / 0.9392 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.463e-05/0.7101, allocations: 110.5 kB / 0.9393 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.7101, allocations: 4.359 kB / 0.9393 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.7102, allocations: 11.89 kB / 0.9393 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.7103, allocations: 134.7 kB / 0.9394 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.7103, allocations: 0 / 0.9394 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.7103, allocations: 4 kB / 0.9394 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.7104, allocations: 0 / 0.9394 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.349e-05/0.7104, allocations: 15.98 kB / 0.9395 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/0.7106, allocations: 140.7 kB / 0.9396 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.7107, allocations: 50.5 kB / 0.9396 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003509/0.711, allocations: 16.86 kB / 0.9397 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00563/0.7167, allocations: 2.868 MB / 0.9425 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.7167, allocations: 38.5 kB / 0.9425 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.7167, allocations: 0 / 0.9425 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.02355/0.7402, allocations: 14.92 MB / 0.9571 GB, free: 6.418 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.7403, allocations: 51.41 kB / 0.9571 GB, free: 6.355 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.92e-05/0.7403, allocations: 105.8 kB / 0.9572 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.7403, allocations: 29.64 kB / 0.9572 GB, free: 6.207 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.041e-05/0.7404, allocations: 80.14 kB / 0.9573 GB, free: 6.125 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.617e-05/0.7404, allocations: 47.62 kB / 0.9574 GB, free: 6.078 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.7405, allocations: 29.72 kB / 0.9574 GB, free: 6.043 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.301e-05/0.7405, allocations: 318.8 kB / 0.9577 GB, free: 5.723 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.467e-05/0.7406, allocations: 24 kB / 0.9577 GB, free: 5.699 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.055e-05/0.7406, allocations: 28.11 kB / 0.9577 GB, free: 5.672 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.848e-05/0.7407, allocations: 72.16 kB / 0.9578 GB, free: 5.602 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.7407, allocations: 0 / 0.9578 GB, free: 5.602 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001436/0.7409, allocations: 97.69 kB / 0.9579 GB, free: 5.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.7409, allocations: 6.656 kB / 0.9579 GB, free: 5.496 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.7409, allocations: 0 / 0.9579 GB, free: 5.496 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.7409, allocations: 4 kB / 0.9579 GB, free: 5.492 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.538e-05/0.741, allocations: 23.98 kB / 0.9579 GB, free: 5.469 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.741, allocations: 0 / 0.9579 GB, free: 5.469 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.649e-05/0.741, allocations: 4 kB / 0.9579 GB, free: 5.465 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.741, allocations: 4 kB / 0.9579 GB, free: 5.461 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.82e-05/0.7411, allocations: 129.7 kB / 0.9581 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.7411, allocations: 3.953 kB / 0.9581 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001922/0.7413, allocations: 123.1 kB / 0.9582 GB, free: 5.195 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.7413, allocations: 4 kB / 0.9582 GB, free: 5.191 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.7413, allocations: 0 / 0.9582 GB, free: 5.191 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.7413, allocations: 0 / 0.9582 GB, free: 5.191 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.7414, allocations: 144.7 kB / 0.9583 GB, free: 5.008 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.7414, allocations: 3.938 kB / 0.9583 GB, free: 5.004 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.688e-05/0.7415, allocations: 31.92 kB / 0.9584 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.7415, allocations: 0 / 0.9584 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.7415, allocations: 4 kB / 0.9584 GB, free: 4.969 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.7415, allocations: 4 kB / 0.9584 GB, free: 4.965 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.7415, allocations: 0 / 0.9584 GB, free: 4.965 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.7417, allocations: 160.9 kB / 0.9585 GB, free: 4.789 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.7418, allocations: 15.98 kB / 0.9585 GB, free: 4.773 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.7418, allocations: 0 / 0.9585 GB, free: 4.773 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.85e-05/0.7419, allocations: 15.98 kB / 0.9586 GB, free: 4.758 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.96e-05/0.7419, allocations: 15.92 kB / 0.9586 GB, free: 4.742 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.7419, allocations: 4 kB / 0.9586 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.334e-05/0.7419, allocations: 75.28 kB / 0.9587 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.7419, allocations: 4 kB / 0.9587 GB, free: 4.66 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001546/0.7435, allocations: 0.566 MB / 0.9592 GB, free: 4.094 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.002498/0.746, allocations: 0.9265 MB / 0.9601 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001599/0.7461, allocations: 67.91 kB / 0.9602 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7461, allocations: 0 / 0.9602 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.881e-05/0.7462, allocations: 35.92 kB / 0.9602 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.7463, allocations: 8 kB / 0.9602 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.7483, allocations: 1.566 MB / 0.9617 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.537e-05/0.7483, allocations: 71.28 kB / 0.9618 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.672e-05/0.7484, allocations: 24.53 kB / 0.9618 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.523e-05/0.7484, allocations: 23.44 kB / 0.9619 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of SimCode: time 1.282e-06/0.7484, allocations: 0 / 0.9619 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04418/0.7926, allocations: 26.02 MB / 0.9873 GB, free: 7.344 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.52/8.313, allocations: 10.45 kB / 0.9873 GB, free: 7.336 MB / 0.7605 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.664402061142027] Failed to read output from testmodel.py, exit status != 0: 8.398232066072524 8.412322108 7.700619798 Calling exit ...