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.00158/0.00158, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001714/0.001714, allocations: 211.9 kB / 22.24 MB, free: 5.258 MB / 14.72 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 1.443/1.443, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.854/0.854, allocations: 134 MB / 446.4 MB, free: 9.949 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: 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.001991/0.001991, allocations: 72.27 kB / 0.6185 GB, free: 6.887 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.174, allocations: 85.91 MB / 0.7024 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.5885/0.7625, allocations: 119.6 MB / 0.8192 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02919/0.7917, allocations: 19.9 MB / 0.8387 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002342/0.7919, allocations: 0 / 0.8387 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003335/0.7923, allocations: 43.22 kB / 0.8387 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000343/0.7926, allocations: 99.58 kB / 0.8388 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01993/0.8125, allocations: 6.675 MB / 0.8453 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004432/0.813, allocations: 259.9 kB / 0.8456 GB, free: 404 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.904e-05/0.813, allocations: 9.75 kB / 0.8456 GB, free: 396 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003673/0.8134, allocations: 147.4 kB / 0.8457 GB, free: 248 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.8136, allocations: 83.66 kB / 0.8458 GB, free: 164 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.745e-05/0.8136, allocations: 8 kB / 0.8458 GB, free: 156 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02241/0.836, allocations: 10.45 MB / 0.856 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.8361, allocations: 39.89 kB / 0.856 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001663/0.8363, allocations: 71.72 kB / 0.8561 GB, free: 5.582 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01831/0.8546, allocations: 6.162 MB / 0.8621 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.8546, allocations: 0 / 0.8621 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.634e-06/0.8546, allocations: 0 / 0.8621 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.575e-05/0.8546, allocations: 3.938 kB / 0.8621 GB, free: 15.4 MB / 0.6387 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.003614/0.8582, allocations: 1.151 MB / 0.8633 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.8583, allocations: 12.03 kB / 0.8633 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.626e-05/0.8584, allocations: 46.73 kB / 0.8633 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.8594, allocations: 88.75 kB / 0.8634 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.8597, allocations: 170.5 kB / 0.8636 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.8597, allocations: 15.94 kB / 0.8636 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.8597, allocations: 12 kB / 0.8636 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.8609, allocations: 0.6698 MB / 0.8642 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.861, allocations: 3.938 kB / 0.8642 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.47e-05/0.861, allocations: 8 kB / 0.8643 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.861, allocations: 7.938 kB / 0.8643 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.8622, allocations: 0.6055 MB / 0.8649 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.8632, allocations: 0.7342 MB / 0.8656 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007721/0.864, allocations: 236.7 kB / 0.8658 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.8641, allocations: 69.27 kB / 0.8659 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08767/0.9518, allocations: 23.37 MB / 0.8887 GB, free: 3.973 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.318e-05/0.9518, allocations: 34.56 kB / 0.8887 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=25): time 2.965e-06/0.9518, allocations: 4 kB / 0.8887 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25): time 0.001974/0.9538, allocations: 418.2 kB / 0.8891 GB, free: 3.512 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.9538, allocations: 55.41 kB / 0.8892 GB, free: 3.445 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.954, allocations: 143.5 kB / 0.8893 GB, free: 3.297 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.085e-05/0.9541, allocations: 29.7 kB / 0.8893 GB, free: 3.262 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.9542, allocations: 108.4 kB / 0.8894 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.888e-05/0.9543, allocations: 91.22 kB / 0.8895 GB, free: 3.062 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.9544, allocations: 77.66 kB / 0.8896 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.9546, allocations: 330.7 kB / 0.8899 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.9548, allocations: 83.95 kB / 0.89 GB, free: 2.566 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002748/0.9551, allocations: 125.1 kB / 0.8901 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004974/0.9556, allocations: 233.7 kB / 0.8903 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.9556, allocations: 0 / 0.8903 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007833/0.9564, allocations: 305.4 kB / 0.8906 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.9564, allocations: 8 kB / 0.8906 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.9564, allocations: 0 / 0.8906 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.653e-05/0.9564, allocations: 4 kB / 0.8906 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.9568, allocations: 79.88 kB / 0.8907 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.9568, allocations: 4 kB / 0.8907 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.957, allocations: 27.72 kB / 0.8907 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.686e-05/0.957, allocations: 19.98 kB / 0.8908 GB, free: 1.734 MB / 0.6544 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.0001873/0.9572, allocations: 133.8 kB / 0.8909 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.9574, allocations: 19.91 kB / 0.8909 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002875/0.9603, allocations: 2.483 MB / 0.8933 GB, free: 15.07 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.9603, allocations: 15.97 kB / 0.8934 GB, free: 15.06 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.9603, allocations: 0 / 0.8934 GB, free: 15.06 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.9603, allocations: 3.938 kB / 0.8934 GB, free: 15.05 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003899/0.9642, allocations: 3.582 MB / 0.8969 GB, free: 11.37 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.9642, allocations: 0 / 0.8969 GB, free: 11.37 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/0.9645, allocations: 55.89 kB / 0.8969 GB, free: 11.32 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.9645, allocations: 0 / 0.8969 GB, free: 11.32 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/0.9645, allocations: 15.92 kB / 0.8969 GB, free: 11.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.9645, allocations: 0 / 0.8969 GB, free: 11.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.9645, allocations: 4.688 kB / 0.8969 GB, free: 11.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008659/0.9654, allocations: 0.5546 MB / 0.8975 GB, free: 10.73 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/0.9655, allocations: 63.62 kB / 0.8975 GB, free: 10.66 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.845e-05/0.9656, allocations: 7.938 kB / 0.8975 GB, free: 10.66 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.9658, allocations: 15.98 kB / 0.8976 GB, free: 10.64 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.9658, allocations: 15.97 kB / 0.8976 GB, free: 10.62 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-05/0.9659, allocations: 13.12 kB / 0.8976 GB, free: 10.61 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001038/0.966, allocations: 113.2 kB / 0.8977 GB, free: 10.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.966, allocations: 3.938 kB / 0.8977 GB, free: 10.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004882/0.9709, allocations: 1.656 MB / 0.8993 GB, free: 8.84 MB / 0.67 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.01113/0.982, allocations: 2.924 MB / 0.9022 GB, free: 5.891 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001063/0.983, allocations: 316.4 kB / 0.9025 GB, free: 5.582 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.794e-06/0.9831, allocations: 0 / 0.9025 GB, free: 5.582 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004718/0.9835, allocations: 196.5 kB / 0.9027 GB, free: 5.387 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007172/0.9842, allocations: 72.12 kB / 0.9027 GB, free: 5.316 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007223/0.9915, allocations: 3.084 MB / 0.9057 GB, free: 2.113 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001714/0.9916, allocations: 160.7 kB / 0.9059 GB, free: 1.938 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006336/0.9923, allocations: 405.2 kB / 0.9063 GB, free: 1.543 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/0.9925, allocations: 99.39 kB / 0.9064 GB, free: 1.449 MB / 0.67 GB Notification: Performance of SimCode: time 1.323e-06/0.9925, allocations: 3.938 kB / 0.9064 GB, free: 1.445 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1573/1.15, allocations: 61.86 MB / 0.9668 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.34/16.49, allocations: 3.094 kB / 0.9668 GB, free: 3.703 MB / 0.7325 GB " [Timeout remaining time 643] (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: 20.438381345011294] Failed to read output from testmodel.py, exit status != 0: 16.650329403113574 16.678739244 15.818903767 Calling exit ...