Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.001319/0.001319, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001433/0.001433, allocations: 216.5 kB / 23.78 MB, free: 4.555 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.575/1.575, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.004/1.004, allocations: 150 MB / 463.9 MB, free: 10.27 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.00202/0.00202, allocations: 62.41 kB / 0.642 GB, free: 9.902 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1894, allocations: 89.17 MB / 0.7291 GB, free: 0.793 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006459/0.1958, allocations: 3.884 MB / 0.7329 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003339/0.1992, allocations: 2.224 MB / 0.7351 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001648/0.1993, allocations: 4 kB / 0.7351 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003484/0.1997, allocations: 43.69 kB / 0.7351 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004072/0.2001, allocations: 99.34 kB / 0.7352 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00175/0.2018, allocations: 0.5506 MB / 0.7357 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004736/0.2023, allocations: 263.8 kB / 0.736 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.277e-05/0.2024, allocations: 13.73 kB / 0.736 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003101/0.2027, allocations: 119.5 kB / 0.7361 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.2029, allocations: 95.66 kB / 0.7362 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.183e-05/0.2029, allocations: 12 kB / 0.7362 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009087/0.2038, allocations: 403.3 kB / 0.7366 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.638e-05/0.2039, allocations: 39.83 kB / 0.7366 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.2041, allocations: 79.7 kB / 0.7367 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009191/0.205, allocations: 399.1 kB / 0.7371 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.205, allocations: 0 / 0.7371 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.114e-06/0.205, allocations: 0 / 0.7371 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.205, allocations: 4 kB / 0.7371 GB, free: 8.562 MB / 0.5606 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.0009888/0.206, allocations: 448 kB / 0.7375 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.206, allocations: 12.03 kB / 0.7375 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.367e-05/0.2061, allocations: 8.453 kB / 0.7375 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.586e-05/0.2061, allocations: 50.73 kB / 0.7376 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002317/0.2084, allocations: 196.6 kB / 0.7378 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003873/0.2088, allocations: 158.2 kB / 0.7379 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.379e-05/0.2089, allocations: 16.7 kB / 0.7379 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.331e-05/0.2089, allocations: 20.06 kB / 0.738 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008471/0.2098, allocations: 0.498 MB / 0.7385 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.2098, allocations: 0 / 0.7385 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.377e-05/0.2098, allocations: 8 kB / 0.7385 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.853e-05/0.2098, allocations: 4 kB / 0.7385 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007618/0.2106, allocations: 267.5 kB / 0.7387 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001838/0.2124, allocations: 1.212 MB / 0.7399 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007397/0.2132, allocations: 186.4 kB / 0.7401 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/0.2134, allocations: 68.81 kB / 0.7401 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/0.2135, allocations: 8 kB / 0.7402 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.2135, allocations: 30.56 kB / 0.7402 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 2.003e-06/0.2135, allocations: 3.938 kB / 0.7402 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18): time 0.0008592/0.2143, allocations: 247 kB / 0.7404 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.2144, allocations: 55.41 kB / 0.7405 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.2146, allocations: 158.1 kB / 0.7406 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.218e-05/0.2146, allocations: 33.7 kB / 0.7407 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.52e-05/0.2147, allocations: 124.2 kB / 0.7408 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.046e-05/0.2148, allocations: 71.41 kB / 0.7408 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.2149, allocations: 49.92 kB / 0.7409 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.215, allocations: 326.8 kB / 0.7412 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.2153, allocations: 68.42 kB / 0.7413 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002923/0.2156, allocations: 146.2 kB / 0.7414 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005254/0.2161, allocations: 211.5 kB / 0.7416 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.2161, allocations: 4 kB / 0.7416 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006747/0.2168, allocations: 253.1 kB / 0.7419 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.2168, allocations: 10.5 kB / 0.7419 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.2168, allocations: 4 kB / 0.7419 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.2168, allocations: 4 kB / 0.7419 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000425/0.2172, allocations: 67.89 kB / 0.7419 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.2172, allocations: 4.312 kB / 0.7419 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002799/0.2175, allocations: 39.77 kB / 0.742 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/0.2176, allocations: 11.98 kB / 0.742 GB, free: 3.176 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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.0001701/0.2177, allocations: 133.7 kB / 0.7421 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.135e-05/0.2178, allocations: 19.84 kB / 0.7421 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007152/0.2185, allocations: 226.6 kB / 0.7424 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.2185, allocations: 4 kB / 0.7424 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.2185, allocations: 3.984 kB / 0.7424 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2185, allocations: 0 / 0.7424 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/0.2189, allocations: 200.6 kB / 0.7426 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2189, allocations: 4 kB / 0.7426 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003667/0.2192, allocations: 55.89 kB / 0.7426 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.2192, allocations: 0 / 0.7426 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.364e-05/0.2193, allocations: 4 kB / 0.7426 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.2193, allocations: 4 kB / 0.7426 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.2193, allocations: 0 / 0.7426 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006367/0.2199, allocations: 303.3 kB / 0.7429 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.22, allocations: 27.81 kB / 0.7429 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.674e-05/0.2201, allocations: 7.984 kB / 0.7429 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003273/0.2204, allocations: 19.98 kB / 0.743 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.2204, allocations: 7.984 kB / 0.743 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/0.2205, allocations: 15.92 kB / 0.743 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001089/0.2206, allocations: 118.2 kB / 0.7431 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2206, allocations: 4 kB / 0.7431 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004328/0.221, allocations: 63.88 kB / 0.7432 GB, free: 1.906 MB / 0.5606 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 (20): * Single equations (assignments): 20 * 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.001099/0.2221, allocations: 0.8693 MB / 0.744 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005972/0.2227, allocations: 177.8 kB / 0.7442 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.2227, allocations: 0 / 0.7442 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002397/0.2229, allocations: 80.52 kB / 0.7443 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005294/0.2235, allocations: 59.94 kB / 0.7443 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003698/0.2272, allocations: 2.159 MB / 0.7464 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.2273, allocations: 111.1 kB / 0.7465 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002971/0.2276, allocations: 53.92 kB / 0.7466 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.2277, allocations: 43.42 kB / 0.7466 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of SimCode: time 9.42e-07/0.2277, allocations: 0 / 0.7466 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02991/0.2576, allocations: 5.773 MB / 0.7523 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.25, allocations: 12.5 kB / 0.7523 GB, free: 8.668 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.675849916995503] Failed to read output from testmodel.py, exit status != 0: 12.420194883015938 12.758642259 12.550916195 Calling exit ...