Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamProperties.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.0007553/0.0007553, 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.001267/0.001267, allocations: 170.3 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.93/0.93, 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.7188/0.7188, 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.SteamProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.115e-05/2.269e-05, allocations: 4.672 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.4179/0.4179, allocations: 119.6 MB / 0.7349 GB, free: 26.69 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01759/0.4355, allocations: 20.23 MB / 0.7547 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.4357, allocations: 1.156 kB / 0.7547 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000254/0.4359, allocations: 50.78 kB / 0.7547 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002467/0.4362, allocations: 92.98 kB / 0.7548 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.01697/0.4532, allocations: 7.019 MB / 0.7617 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003653/0.4535, allocations: 256.9 kB / 0.7619 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.774e-05/0.4536, allocations: 12.11 kB / 0.7619 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003158/0.4539, allocations: 189.8 kB / 0.7621 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.454, allocations: 78.64 kB / 0.7622 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.454, allocations: 8.094 kB / 0.7622 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01944/0.4735, allocations: 11.13 MB / 0.7731 GB, free: 8.609 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.4736, allocations: 41.86 kB / 0.7731 GB, free: 8.578 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001675/0.4738, allocations: 65.44 kB / 0.7732 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01484/0.4886, allocations: 8.366 MB / 0.7813 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.4886, allocations: 0 / 0.7813 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.714e-06/0.4886, allocations: 0 / 0.7813 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.4886, allocations: 0 / 0.7813 GB, free: 2.754 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003876/0.4925, allocations: 1.164 MB / 0.7825 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.4925, allocations: 12.22 kB / 0.7825 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.124e-05/0.4926, allocations: 50.73 kB / 0.7825 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005944/0.4932, allocations: 86.81 kB / 0.7826 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.4935, allocations: 167.1 kB / 0.7828 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.4935, allocations: 9.406 kB / 0.7828 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.4936, allocations: 15.69 kB / 0.7828 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007861/0.4944, allocations: 0.6682 MB / 0.7835 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.4944, allocations: 0 / 0.7835 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.4944, allocations: 10.66 kB / 0.7835 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.4944, allocations: 9.25 kB / 0.7835 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006282/0.495, allocations: 0.6097 MB / 0.7841 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000653/0.4957, allocations: 0.7305 MB / 0.7848 GB, free: 152 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000432/0.4961, allocations: 232.1 kB / 0.785 GB, free: 20 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.677e-05/0.4962, allocations: 69.31 kB / 0.7851 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04093/0.5371, allocations: 23.36 MB / 0.8079 GB, free: 0.9727 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.5372, allocations: 38.56 kB / 0.8079 GB, free: 0.9258 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=25): time 1.482e-06/0.5372, allocations: 0 / 0.8079 GB, free: 0.9258 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25): time 0.001035/0.5382, allocations: 421.4 kB / 0.8083 GB, free: 0.5078 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.5382, allocations: 55.41 kB / 0.8084 GB, free: 452 kB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.5383, allocations: 147.1 kB / 0.8085 GB, free: 300 kB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.5384, allocations: 33.7 kB / 0.8086 GB, free: 260 kB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.5384, allocations: 108.5 kB / 0.8087 GB, free: 148 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/0.5385, allocations: 91.2 kB / 0.8087 GB, free: 56 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.165e-05/0.5386, allocations: 81.61 kB / 0.8088 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.911e-05/0.5386, allocations: 330.8 kB / 0.8091 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.5387, allocations: 83.95 kB / 0.8092 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.5389, allocations: 125.1 kB / 0.8093 GB, free: 15.41 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.5392, allocations: 223.5 kB / 0.8095 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5392, allocations: 0 / 0.8095 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000465/0.5396, allocations: 298.4 kB / 0.8098 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.5397, allocations: 4 kB / 0.8098 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.5397, allocations: 3.938 kB / 0.8098 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.5397, allocations: 4 kB / 0.8098 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.5399, allocations: 79.88 kB / 0.8099 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.5399, allocations: 8.141 kB / 0.8099 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.783e-05/0.5399, allocations: 23.84 kB / 0.8099 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.54, allocations: 29.73 kB / 0.81 GB, free: 14.73 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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 0.0001029/0.5401, allocations: 134.6 kB / 0.8101 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.375e-05/0.5402, allocations: 15.91 kB / 0.8101 GB, free: 14.58 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001547/0.5417, allocations: 2.494 MB / 0.8126 GB, free: 12.08 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.5417, allocations: 11.98 kB / 0.8126 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.5417, allocations: 0 / 0.8126 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.5417, allocations: 3.984 kB / 0.8126 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002189/0.5439, allocations: 3.587 MB / 0.8161 GB, free: 8.371 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.5439, allocations: 0 / 0.8161 GB, free: 8.371 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.5441, allocations: 59.89 kB / 0.8161 GB, free: 8.312 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.5441, allocations: 0 / 0.8161 GB, free: 8.312 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.5441, allocations: 8 kB / 0.8161 GB, free: 8.305 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.5441, allocations: 0 / 0.8161 GB, free: 8.305 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.5441, allocations: 7.938 kB / 0.8161 GB, free: 8.297 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005187/0.5446, allocations: 0.5511 MB / 0.8167 GB, free: 7.734 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 7.996e-05/0.5447, allocations: 63.62 kB / 0.8167 GB, free: 7.672 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.5447, allocations: 11.38 kB / 0.8168 GB, free: 7.664 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.5448, allocations: 8 kB / 0.8168 GB, free: 7.656 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-05/0.5449, allocations: 23.91 kB / 0.8168 GB, free: 7.633 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.5449, allocations: 19.92 kB / 0.8168 GB, free: 7.613 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 5.931e-05/0.5449, allocations: 105.8 kB / 0.8169 GB, free: 7.512 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7e-08/0.5449, allocations: 0 / 0.8169 GB, free: 7.512 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.005173/0.5501, allocations: 1.719 MB / 0.8186 GB, free: 5.789 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.00693/0.557, allocations: 3.195 MB / 0.8217 GB, free: 2.57 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004557/0.5575, allocations: 312.4 kB / 0.822 GB, free: 2.262 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5575, allocations: 4 kB / 0.822 GB, free: 2.258 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.5577, allocations: 193.4 kB / 0.8222 GB, free: 2.07 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.558, allocations: 74.48 kB / 0.8223 GB, free: 2 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003539/0.5616, allocations: 3.073 MB / 0.8253 GB, free: 14.81 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.541e-05/0.5617, allocations: 160.7 kB / 0.8254 GB, free: 14.63 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003397/0.562, allocations: 405.2 kB / 0.8258 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.5621, allocations: 104.4 kB / 0.8259 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of SimCode: time 1.222e-06/0.5621, allocations: 0 / 0.8259 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08699/0.6491, allocations: 64.54 MB / 0.8889 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/11.11, allocations: 14.89 kB / 0.8889 GB, free: 13.74 MB / 0.7448 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Media.Examples.SteamProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamProperties.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Examples.SteamProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Media_Examples_SteamProperties.fmu > IDEAS_IDEAS.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.070592911913991] Failed to read output from testmodel.py, exit status != 0: 11.231884212233126 11.244182856 10.753628378 Calling exit ...