Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001838/0.001838, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002531/0.002531, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 8 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.8473/0.8473, allocations: 134 MB / 446.4 MB, free: 10.25 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.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.002018/0.002018, allocations: 74.86 kB / 0.6186 GB, free: 7.207 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1919, allocations: 85.91 MB / 0.7025 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00612/0.198, allocations: 4.177 MB / 0.7066 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003076/0.2011, allocations: 2.457 MB / 0.709 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.097e-05/0.2012, allocations: 8 kB / 0.709 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000268/0.2015, allocations: 47.67 kB / 0.709 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00028/0.2017, allocations: 103.3 kB / 0.7091 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.2031, allocations: 0.5362 MB / 0.7097 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000348/0.2034, allocations: 271.8 kB / 0.7099 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.254e-05/0.2035, allocations: 13.75 kB / 0.7099 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002232/0.2037, allocations: 119.5 kB / 0.71 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.2039, allocations: 99.59 kB / 0.7101 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.2039, allocations: 8 kB / 0.7101 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008658/0.2047, allocations: 479.2 kB / 0.7106 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.205e-05/0.2048, allocations: 39.89 kB / 0.7106 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.205, allocations: 83.59 kB / 0.7107 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000681/0.2057, allocations: 422.9 kB / 0.7111 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2057, allocations: 0 / 0.7111 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2057, allocations: 4 kB / 0.7111 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.2057, allocations: 0 / 0.7111 GB, free: 8.508 MB / 0.5294 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.0007993/0.2065, allocations: 453.4 kB / 0.7116 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.2065, allocations: 8.031 kB / 0.7116 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.101e-05/0.2066, allocations: 54.67 kB / 0.7116 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002117/0.2087, allocations: 188.6 kB / 0.7118 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004172/0.2091, allocations: 146.4 kB / 0.7119 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.601e-05/0.2092, allocations: 12.7 kB / 0.712 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.546e-05/0.2092, allocations: 16.38 kB / 0.712 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000701/0.2099, allocations: 312.1 kB / 0.7123 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.2099, allocations: 4 kB / 0.7123 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.354e-05/0.2099, allocations: 8 kB / 0.7123 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.115e-05/0.21, allocations: 11.92 kB / 0.7123 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007008/0.2107, allocations: 259.6 kB / 0.7125 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001967/0.2126, allocations: 1.353 MB / 0.7139 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006841/0.2133, allocations: 182.5 kB / 0.714 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.2135, allocations: 72.81 kB / 0.7141 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/0.2136, allocations: 3.984 kB / 0.7141 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.088e-05/0.2137, allocations: 42.5 kB / 0.7141 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 3.457e-06/0.2137, allocations: 4 kB / 0.7142 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0008552/0.2145, allocations: 243.4 kB / 0.7144 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.2146, allocations: 55.41 kB / 0.7144 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.2147, allocations: 153.5 kB / 0.7146 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/0.2148, allocations: 33.7 kB / 0.7146 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.893e-05/0.2149, allocations: 132.2 kB / 0.7147 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.215, allocations: 63.47 kB / 0.7148 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.307e-05/0.2151, allocations: 57.88 kB / 0.7149 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.2153, allocations: 334.7 kB / 0.7152 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.2155, allocations: 60.41 kB / 0.7152 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002758/0.2158, allocations: 146.8 kB / 0.7154 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000486/0.2163, allocations: 213.2 kB / 0.7156 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.2163, allocations: 8 kB / 0.7156 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006069/0.2169, allocations: 247.8 kB / 0.7158 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.2169, allocations: 8 kB / 0.7158 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.2169, allocations: 4 kB / 0.7158 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.2169, allocations: 4 kB / 0.7158 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003641/0.2173, allocations: 63.89 kB / 0.7159 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.2173, allocations: 4 kB / 0.7159 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.2175, allocations: 31.83 kB / 0.7159 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.2175, allocations: 8 kB / 0.7159 GB, free: 3.23 MB / 0.5294 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.0001386/0.2177, allocations: 141.6 kB / 0.7161 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.85e-05/0.2177, allocations: 19.89 kB / 0.7161 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006554/0.2184, allocations: 230.5 kB / 0.7163 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.2184, allocations: 4 kB / 0.7163 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2184, allocations: 0 / 0.7163 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.2184, allocations: 3.984 kB / 0.7163 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003032/0.2187, allocations: 216.7 kB / 0.7165 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2187, allocations: 0 / 0.7165 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003161/0.219, allocations: 51.95 kB / 0.7166 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.219, allocations: 4 kB / 0.7166 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.2191, allocations: 0 / 0.7166 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.2191, allocations: 4 kB / 0.7166 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2191, allocations: 0 / 0.7166 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006303/0.2197, allocations: 297.3 kB / 0.7169 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.32e-05/0.2198, allocations: 43.75 kB / 0.7169 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.501e-05/0.2198, allocations: 3.984 kB / 0.7169 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002814/0.2201, allocations: 15.98 kB / 0.7169 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.879e-05/0.2201, allocations: 7.984 kB / 0.7169 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.2201, allocations: 15.98 kB / 0.717 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.33e-05/0.2202, allocations: 113.9 kB / 0.7171 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2202, allocations: 0 / 0.7171 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003615/0.2206, allocations: 63.94 kB / 0.7171 GB, free: 1.945 MB / 0.5294 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.001002/0.2216, allocations: 0.8644 MB / 0.718 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005947/0.2222, allocations: 172.4 kB / 0.7181 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.2222, allocations: 4 kB / 0.7181 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002284/0.2224, allocations: 82.25 kB / 0.7182 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/0.2229, allocations: 59.95 kB / 0.7183 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00343/0.2263, allocations: 2.17 MB / 0.7204 GB, free: 14.44 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/0.2267, allocations: 0.7133 MB / 0.7211 GB, free: 13.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002549/0.227, allocations: 57.91 kB / 0.7211 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.2271, allocations: 43.42 kB / 0.7212 GB, free: 13.6 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.2271, allocations: 0 / 0.7212 GB, free: 13.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03344/0.2606, allocations: 5.451 MB / 0.7265 GB, free: 8.355 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.53, allocations: 6.438 kB / 0.7265 GB, free: 8.352 MB / 0.545 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.26381316408515] Failed to read output from testmodel.py, exit status != 0: 11.63888805382885 11.655490098 11.446510406 Calling exit ...