Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterProperties.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.001363/0.001363, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001514/0.001514, allocations: 213.7 kB / 22.25 MB, free: 3.711 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 1.013/1.013, allocations: 230.6 MB / 256 MB, free: 9.781 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.8186/0.8186, allocations: 203.8 MB / 0.5042 GB, free: 10.66 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.WaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterProperties",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.000973/0.000973, allocations: 71.02 kB / 0.7183 GB, free: 4.273 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5989/0.5999, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.005914/0.6058, allocations: 4.859 MB / 0.8226 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002419/0.6082, allocations: 2.724 MB / 0.8253 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.6083, allocations: 1.062 kB / 0.8253 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002911/0.6086, allocations: 50.8 kB / 0.8253 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000265/0.6089, allocations: 98.55 kB / 0.8254 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.6101, allocations: 0.525 MB / 0.8259 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003304/0.6104, allocations: 235.8 kB / 0.8262 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.184e-05/0.6105, allocations: 7.938 kB / 0.8262 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000226/0.6107, allocations: 124.6 kB / 0.8263 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.6109, allocations: 89.8 kB / 0.8264 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.6109, allocations: 7.656 kB / 0.8264 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008802/0.6118, allocations: 388.5 kB / 0.8268 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.6119, allocations: 45.53 kB / 0.8268 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.612, allocations: 82.36 kB / 0.8269 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007875/0.6128, allocations: 374.4 kB / 0.8272 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.6128, allocations: 0 / 0.8272 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.926e-06/0.6128, allocations: 1.344 kB / 0.8272 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.6128, allocations: 0 / 0.8272 GB, free: 10.91 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007834/0.6136, allocations: 441.7 kB / 0.8277 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.6136, allocations: 10.16 kB / 0.8277 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.966e-05/0.6137, allocations: 53.84 kB / 0.8277 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.6138, allocations: 26.25 kB / 0.8277 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.6141, allocations: 152.7 kB / 0.8279 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.6141, allocations: 18.03 kB / 0.8279 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.6141, allocations: 19.2 kB / 0.8279 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000337/0.6145, allocations: 254.2 kB / 0.8282 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.6145, allocations: 0 / 0.8282 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.6145, allocations: 16.16 kB / 0.8282 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/0.6145, allocations: 6.016 kB / 0.8282 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004573/0.615, allocations: 439.1 kB / 0.8286 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.616, allocations: 0.9283 MB / 0.8295 GB, free: 9.289 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.6162, allocations: 155.6 kB / 0.8297 GB, free: 9.219 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.271e-05/0.6163, allocations: 56.92 kB / 0.8297 GB, free: 9.195 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006192/0.617, allocations: 472.7 kB / 0.8302 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.617, allocations: 36.48 kB / 0.8302 GB, free: 8.824 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.082e-06/0.617, allocations: 1.406 kB / 0.8302 GB, free: 8.824 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0002908/0.6173, allocations: 152.5 kB / 0.8304 GB, free: 8.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.6173, allocations: 53.94 kB / 0.8304 GB, free: 8.688 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.6175, allocations: 172.9 kB / 0.8306 GB, free: 8.559 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.6175, allocations: 30.89 kB / 0.8306 GB, free: 8.523 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.349e-05/0.6176, allocations: 146.4 kB / 0.8307 GB, free: 8.391 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.6176, allocations: 62.22 kB / 0.8308 GB, free: 8.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.361e-05/0.6177, allocations: 49.94 kB / 0.8308 GB, free: 8.309 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.6178, allocations: 323.1 kB / 0.8312 GB, free: 7.992 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.89e-05/0.6178, allocations: 34.38 kB / 0.8312 GB, free: 7.984 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.6179, allocations: 152.4 kB / 0.8313 GB, free: 7.828 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.6181, allocations: 193 kB / 0.8315 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.6181, allocations: 2.625 kB / 0.8315 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002561/0.6184, allocations: 219.6 kB / 0.8317 GB, free: 7.551 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.6184, allocations: 6.766 kB / 0.8317 GB, free: 7.551 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.6184, allocations: 11.98 kB / 0.8317 GB, free: 7.543 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.6184, allocations: 8.719 kB / 0.8318 GB, free: 7.539 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.6185, allocations: 54.72 kB / 0.8318 GB, free: 7.531 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.6186, allocations: 9.859 kB / 0.8318 GB, free: 7.527 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.161e-05/0.6186, allocations: 28.59 kB / 0.8318 GB, free: 7.508 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.6186, allocations: 16.52 kB / 0.8319 GB, free: 7.504 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 29 * Array equations: 1 * 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 8.424e-05/0.6187, allocations: 130.9 kB / 0.832 GB, free: 7.375 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.6188, allocations: 21.98 kB / 0.832 GB, free: 7.363 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.619, allocations: 153.2 kB / 0.8321 GB, free: 7.277 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.619, allocations: 6.797 kB / 0.8322 GB, free: 7.273 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.619, allocations: 0 / 0.8322 GB, free: 7.273 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.619, allocations: 1.953 kB / 0.8322 GB, free: 7.273 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.6192, allocations: 191.3 kB / 0.8323 GB, free: 7.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.6192, allocations: 0 / 0.8323 GB, free: 7.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.287e-05/0.6193, allocations: 22.8 kB / 0.8324 GB, free: 7.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.6193, allocations: 1.094 kB / 0.8324 GB, free: 7.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.6193, allocations: 10.31 kB / 0.8324 GB, free: 7.082 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.6193, allocations: 4.625 kB / 0.8324 GB, free: 7.078 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6193, allocations: 1.344 kB / 0.8324 GB, free: 7.078 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.6195, allocations: 221.4 kB / 0.8326 GB, free: 6.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.72e-05/0.6196, allocations: 31.66 kB / 0.8326 GB, free: 6.898 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.6196, allocations: 1.094 kB / 0.8326 GB, free: 6.898 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.6197, allocations: 18.91 kB / 0.8326 GB, free: 6.891 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.438e-05/0.6198, allocations: 13.59 kB / 0.8327 GB, free: 6.887 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.6198, allocations: 13.56 kB / 0.8327 GB, free: 6.883 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.005e-05/0.6199, allocations: 123.7 kB / 0.8328 GB, free: 6.793 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.6199, allocations: 0 / 0.8328 GB, free: 6.793 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004091/0.6203, allocations: 77.05 kB / 0.8329 GB, free: 6.777 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0007693/0.621, allocations: 0.828 MB / 0.8337 GB, free: 6.059 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002675/0.6213, allocations: 117.8 kB / 0.8338 GB, free: 6.023 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6213, allocations: 1.438 kB / 0.8338 GB, free: 6.023 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.138e-05/0.6214, allocations: 41.83 kB / 0.8338 GB, free: 6.012 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.6217, allocations: 62.61 kB / 0.8339 GB, free: 5.984 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/0.624, allocations: 2.037 MB / 0.8359 GB, free: 4.297 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.6243, allocations: 0.7261 MB / 0.8366 GB, free: 3.586 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001469/0.6244, allocations: 46.23 kB / 0.8366 GB, free: 3.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.928e-05/0.6245, allocations: 44.73 kB / 0.8367 GB, free: 3.543 MB / 0.6198 GB Notification: Performance of SimCode: time 1.032e-06/0.6245, allocations: 0 / 0.8367 GB, free: 3.543 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02377/0.6483, allocations: 5.555 MB / 0.8421 GB, free: 1.973 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.942/7.59, allocations: 7.078 kB / 0.8421 GB, free: 1.969 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterProperties.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Examples.WaterProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Media_Examples_WaterProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.755414933897555] Failed to read output from testmodel.py, exit status != 0: 7.6717768961098045 7.686875489 7.071489661 Calling exit ...