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.0008888/0.0008888, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001094/0.001094, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9471/0.9471, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7285/0.7285, allocations: 154.5 MB / 413.7 MB, free: 0.8203 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: "" <> 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: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.602e-05, allocations: 2.281 kB / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002452/0.002478, allocations: 1.27 MB / 0.6192 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.4477/0.4502, allocations: 120.9 MB / 0.7373 GB, free: 25.09 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.391e-05/0.4502, allocations: 0 / 0.7373 GB, free: 25.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.396e-05/0.4503, allocations: 0.9062 kB / 0.7373 GB, free: 25.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.283e-05/0.4503, allocations: 4.906 kB / 0.7373 GB, free: 25.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001715/0.4521, allocations: 456.2 kB / 0.7378 GB, free: 24.93 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.4522, allocations: 53.28 kB / 0.7378 GB, free: 24.91 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.21e-05/0.4522, allocations: 3.734 kB / 0.7378 GB, free: 24.91 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.104e-05/0.4523, allocations: 31.97 kB / 0.7379 GB, free: 24.89 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.553e-05/0.4524, allocations: 15.53 kB / 0.7379 GB, free: 24.89 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.4524, allocations: 1.094 kB / 0.7379 GB, free: 24.89 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/0.4538, allocations: 0.7982 MB / 0.7387 GB, free: 24.72 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.009e-05/0.4538, allocations: 7.453 kB / 0.7387 GB, free: 24.72 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.204e-05/0.4538, allocations: 14.47 kB / 0.7387 GB, free: 24.71 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0008357/0.4547, allocations: 0.5654 MB / 0.7392 GB, free: 24.55 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4547, allocations: 1.188 kB / 0.7392 GB, free: 24.55 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4547, allocations: 0 / 0.7392 GB, free: 24.55 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.4547, allocations: 0 / 0.7392 GB, free: 24.55 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.0005103/0.4552, allocations: 296.8 kB / 0.7395 GB, free: 24.27 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.4552, allocations: 12.03 kB / 0.7395 GB, free: 24.27 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.186e-05/0.4553, allocations: 36.58 kB / 0.7396 GB, free: 24.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.4554, allocations: 15.02 kB / 0.7396 GB, free: 24.23 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.329e-05/0.4555, allocations: 103.6 kB / 0.7397 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.4555, allocations: 3.375 kB / 0.7397 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.4555, allocations: 7.25 kB / 0.7397 GB, free: 24.1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.4556, allocations: 139.9 kB / 0.7398 GB, free: 23.96 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.4556, allocations: 3.938 kB / 0.7398 GB, free: 23.96 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.4556, allocations: 1.547 kB / 0.7398 GB, free: 23.96 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.4556, allocations: 5.156 kB / 0.7398 GB, free: 23.95 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.359e-05/0.4557, allocations: 17.75 kB / 0.7398 GB, free: 23.95 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001179/0.4558, allocations: 133.5 kB / 0.74 GB, free: 23.79 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.77e-05/0.4559, allocations: 54.38 kB / 0.74 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.459e-05/0.4559, allocations: 16.28 kB / 0.74 GB, free: 23.74 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006323/0.4622, allocations: 2.868 MB / 0.7428 GB, free: 23.44 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.4623, allocations: 31.97 kB / 0.7429 GB, free: 23.4 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.874e-06/0.4623, allocations: 1.031 kB / 0.7429 GB, free: 23.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.02616/0.4884, allocations: 14.92 MB / 0.7574 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.4885, allocations: 57.66 kB / 0.7575 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.941e-05/0.4885, allocations: 92.33 kB / 0.7576 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.4885, allocations: 26.73 kB / 0.7576 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.008e-05/0.4885, allocations: 85.17 kB / 0.7577 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.351e-05/0.4886, allocations: 39.41 kB / 0.7577 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.4886, allocations: 31.84 kB / 0.7578 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.398e-05/0.4886, allocations: 321.4 kB / 0.7581 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.561e-05/0.4887, allocations: 20.22 kB / 0.7581 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.006e-05/0.4887, allocations: 25.22 kB / 0.7581 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.786e-05/0.4888, allocations: 63.67 kB / 0.7582 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4888, allocations: 0.5156 kB / 0.7582 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001495/0.489, allocations: 111.8 kB / 0.7583 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.489, allocations: 5.531 kB / 0.7583 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.489, allocations: 0.5156 kB / 0.7583 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.489, allocations: 1.156 kB / 0.7583 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.287e-05/0.4891, allocations: 31.55 kB / 0.7583 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.4891, allocations: 0 / 0.7583 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.752e-05/0.4891, allocations: 9.531 kB / 0.7583 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.4891, allocations: 4.797 kB / 0.7583 GB, free: 20.71 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.728e-05/0.4892, allocations: 114 kB / 0.7584 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.4892, allocations: 7 kB / 0.7584 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000188/0.4894, allocations: 127.9 kB / 0.7586 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.4894, allocations: 2.922 kB / 0.7586 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.4894, allocations: 7.984 kB / 0.7586 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.4894, allocations: 0.6562 kB / 0.7586 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.724e-05/0.4895, allocations: 148.1 kB / 0.7587 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.4895, allocations: 6.328 kB / 0.7587 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.059e-05/0.4896, allocations: 21.84 kB / 0.7588 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.4896, allocations: 1 kB / 0.7588 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.4896, allocations: 5.969 kB / 0.7588 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.4896, allocations: 1.141 kB / 0.7588 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4896, allocations: 4.547 kB / 0.7588 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.4898, allocations: 154.9 kB / 0.7589 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.632e-05/0.4898, allocations: 19.22 kB / 0.7589 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.4898, allocations: 5.094 kB / 0.7589 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.115e-05/0.4899, allocations: 18.62 kB / 0.759 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.393e-05/0.4899, allocations: 9.109 kB / 0.759 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.49, allocations: 5.219 kB / 0.759 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.344e-05/0.49, allocations: 76.34 kB / 0.759 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.49, allocations: 3.938 kB / 0.759 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002719/0.4927, allocations: 0.5699 MB / 0.7596 GB, free: 20.09 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.003809/0.4965, allocations: 0.9656 MB / 0.7605 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001958/0.4967, allocations: 64.84 kB / 0.7606 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4967, allocations: 0 / 0.7606 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.446e-05/0.4967, allocations: 35.33 kB / 0.7606 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.4969, allocations: 11.72 kB / 0.7606 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.4987, allocations: 1.492 MB / 0.7621 GB, free: 18.08 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.493e-05/0.4988, allocations: 73.47 kB / 0.7622 GB, free: 18.01 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.792e-05/0.4988, allocations: 23.08 kB / 0.7622 GB, free: 18 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.64e-05/0.4989, allocations: 21.34 kB / 0.7622 GB, free: 17.99 MB / 0.6355 GB Notification: Performance of SimCode: time 1.193e-06/0.4989, allocations: 0 / 0.7622 GB, free: 17.99 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05499/0.5539, allocations: 26.17 MB / 0.7878 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.353/7.907, allocations: 13.48 kB / 0.7878 GB, free: 5.586 MB / 0.6355 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.086909720674157] Failed to read output from testmodel.py, exit status != 0: 7.997517955489457 8.009270262 7.55200154 Calling exit ...