Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001185/0.001185, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001353/0.001353, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8888/0.8888, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7136/0.7136, allocations: 154.6 MB / 413.8 MB, free: 0.7773 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.281e-05, allocations: 7 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.001745/0.001767, allocations: 1.275 MB / 0.6193 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.4257/0.4275, allocations: 120.9 MB / 0.7374 GB, free: 25.05 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.506e-05/0.4275, allocations: 0 / 0.7374 GB, free: 25.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.151e-05/0.4275, allocations: 3.938 kB / 0.7374 GB, free: 25.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.447e-05/0.4276, allocations: 1.094 kB / 0.7374 GB, free: 25.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009801/0.4285, allocations: 465.3 kB / 0.7378 GB, free: 24.89 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.13e-05/0.4286, allocations: 42.06 kB / 0.7379 GB, free: 24.88 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.072e-05/0.4287, allocations: 2.641 kB / 0.7379 GB, free: 24.88 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.399e-05/0.4287, allocations: 29.05 kB / 0.7379 GB, free: 24.87 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.016e-05/0.4288, allocations: 22.67 kB / 0.7379 GB, free: 24.86 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.4288, allocations: 1.469 kB / 0.7379 GB, free: 24.86 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.4301, allocations: 0.7994 MB / 0.7387 GB, free: 24.69 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.4301, allocations: 8.234 kB / 0.7387 GB, free: 24.68 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.918e-05/0.4301, allocations: 20.31 kB / 0.7388 GB, free: 24.68 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0006609/0.4308, allocations: 0.566 MB / 0.7393 GB, free: 24.52 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4308, allocations: 4.906 kB / 0.7393 GB, free: 24.51 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4308, allocations: 0 / 0.7393 GB, free: 24.51 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.4308, allocations: 0 / 0.7393 GB, free: 24.51 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.0003983/0.4312, allocations: 297.9 kB / 0.7396 GB, free: 24.23 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.4312, allocations: 9.781 kB / 0.7396 GB, free: 24.23 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.424e-05/0.4313, allocations: 32.69 kB / 0.7396 GB, free: 24.19 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.4314, allocations: 15.39 kB / 0.7396 GB, free: 24.19 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.902e-05/0.4314, allocations: 103.8 kB / 0.7397 GB, free: 24.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.4314, allocations: 6.625 kB / 0.7398 GB, free: 24.06 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.4315, allocations: 8.641 kB / 0.7398 GB, free: 24.06 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.4316, allocations: 131.3 kB / 0.7399 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.4316, allocations: 3.938 kB / 0.7399 GB, free: 23.92 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.4316, allocations: 1.094 kB / 0.7399 GB, free: 23.92 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.4316, allocations: 1.406 kB / 0.7399 GB, free: 23.92 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.464e-05/0.4317, allocations: 22.17 kB / 0.7399 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001098/0.4318, allocations: 137 kB / 0.74 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.266e-05/0.4319, allocations: 47.11 kB / 0.7401 GB, free: 23.72 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.362e-05/0.4319, allocations: 13.17 kB / 0.7401 GB, free: 23.71 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005686/0.4376, allocations: 2.874 MB / 0.7429 GB, free: 23.4 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.4376, allocations: 35.69 kB / 0.7429 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.4376, allocations: 4 kB / 0.7429 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.02315/0.4607, allocations: 14.92 MB / 0.7575 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.4608, allocations: 54.08 kB / 0.7576 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.644e-05/0.4608, allocations: 92.48 kB / 0.7577 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.4608, allocations: 35.3 kB / 0.7577 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.064e-05/0.4608, allocations: 81.58 kB / 0.7578 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.4608, allocations: 39.02 kB / 0.7578 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.4609, allocations: 34.16 kB / 0.7578 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.114e-05/0.4609, allocations: 318.1 kB / 0.7581 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.147e-05/0.4609, allocations: 24.03 kB / 0.7582 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.495e-05/0.461, allocations: 25.72 kB / 0.7582 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.521e-05/0.4611, allocations: 57.28 kB / 0.7582 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.4611, allocations: 0 / 0.7582 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001333/0.4612, allocations: 116 kB / 0.7584 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.4612, allocations: 6.25 kB / 0.7584 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/0.4612, allocations: 4 kB / 0.7584 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.4612, allocations: 1.125 kB / 0.7584 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.231e-05/0.4613, allocations: 27.33 kB / 0.7584 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.4613, allocations: 0.5156 kB / 0.7584 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.479e-05/0.4613, allocations: 1.906 kB / 0.7584 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.4613, allocations: 6.656 kB / 0.7584 GB, free: 20.67 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.289e-05/0.4614, allocations: 118.8 kB / 0.7585 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.4614, allocations: 7.594 kB / 0.7585 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001645/0.4616, allocations: 132.7 kB / 0.7586 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.4616, allocations: 2.047 kB / 0.7587 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4616, allocations: 1.438 kB / 0.7587 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4616, allocations: 3.984 kB / 0.7587 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.382e-05/0.4617, allocations: 141.4 kB / 0.7588 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.4617, allocations: 3.938 kB / 0.7588 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.335e-05/0.4617, allocations: 26.17 kB / 0.7588 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4617, allocations: 1.625 kB / 0.7588 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-06/0.4617, allocations: 6.469 kB / 0.7588 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4618, allocations: 5.156 kB / 0.7588 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4618, allocations: 0 / 0.7588 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.4619, allocations: 155.6 kB / 0.759 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.462, allocations: 19.92 kB / 0.759 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.462, allocations: 10.5 kB / 0.759 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.855e-05/0.462, allocations: 10 kB / 0.759 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.696e-05/0.4621, allocations: 6.578 kB / 0.759 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/0.4621, allocations: 7.5 kB / 0.759 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.231e-05/0.4621, allocations: 81.09 kB / 0.7591 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4621, allocations: 0 / 0.7591 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001802/0.4639, allocations: 0.5696 MB / 0.7597 GB, free: 20.05 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.002195/0.4661, allocations: 0.9698 MB / 0.7606 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001258/0.4662, allocations: 60.72 kB / 0.7607 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4662, allocations: 0 / 0.7607 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.819e-05/0.4662, allocations: 30.62 kB / 0.7607 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.4664, allocations: 10.77 kB / 0.7607 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.4677, allocations: 1.486 MB / 0.7622 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.403e-05/0.4677, allocations: 72.45 kB / 0.7622 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.25e-05/0.4677, allocations: 25.02 kB / 0.7623 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.64e-05/0.4678, allocations: 24.7 kB / 0.7623 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of SimCode: time 4.91e-07/0.4678, allocations: 3.938 kB / 0.7623 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0303/0.4981, allocations: 26.16 MB / 0.7878 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.761/8.259, allocations: 8.797 kB / 0.7878 GB, free: 5.484 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Media_Examples_SteamDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.332745306193829] Failed to read output from testmodel.py, exit status != 0: 8.347202215343714 8.353784529 7.921310881 Calling exit ...