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.00131/0.00131, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001429/0.001429, allocations: 211.6 kB / 23.04 MB, free: 5.078 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.576/1.576, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.8566/0.8566, allocations: 134 MB / 447.2 MB, free: 10.26 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="cs",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.001959/0.001959, allocations: 67.28 kB / 0.6194 GB, free: 7.191 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1884, allocations: 85.91 MB / 0.7033 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006403/0.1948, allocations: 4.177 MB / 0.7073 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003332/0.1981, allocations: 2.465 MB / 0.7098 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.1983, allocations: 8 kB / 0.7098 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003217/0.1986, allocations: 47.67 kB / 0.7098 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003818/0.199, allocations: 95.41 kB / 0.7099 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001681/0.2007, allocations: 0.5419 MB / 0.7104 GB, free: 10 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004495/0.2011, allocations: 263.9 kB / 0.7107 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.689e-05/0.2012, allocations: 13.75 kB / 0.7107 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003021/0.2015, allocations: 123.5 kB / 0.7108 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/0.2017, allocations: 95.59 kB / 0.7109 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.647e-05/0.2017, allocations: 8 kB / 0.7109 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.2028, allocations: 483.2 kB / 0.7114 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.589e-05/0.2029, allocations: 43.88 kB / 0.7114 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.857e-05/0.203, allocations: 83.59 kB / 0.7115 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009201/0.2039, allocations: 419 kB / 0.7119 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2039, allocations: 0 / 0.7119 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2039, allocations: 7.938 kB / 0.7119 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.2039, allocations: 0 / 0.7119 GB, free: 8.492 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.0009782/0.2049, allocations: 452 kB / 0.7123 GB, free: 8.02 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.2049, allocations: 8.031 kB / 0.7123 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.618e-05/0.2049, allocations: 8.453 kB / 0.7123 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.33e-05/0.205, allocations: 58.72 kB / 0.7124 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002168/0.2072, allocations: 188.6 kB / 0.7126 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.2075, allocations: 150.3 kB / 0.7127 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.2075, allocations: 8.703 kB / 0.7127 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.435e-05/0.2076, allocations: 24.12 kB / 0.7128 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007115/0.2083, allocations: 300.3 kB / 0.713 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.2083, allocations: 0 / 0.713 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.907e-05/0.2083, allocations: 12 kB / 0.7131 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.356e-05/0.2084, allocations: 7.984 kB / 0.7131 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007714/0.2091, allocations: 263.5 kB / 0.7133 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001998/0.2111, allocations: 1.349 MB / 0.7146 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007311/0.2119, allocations: 190.4 kB / 0.7148 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002351/0.2121, allocations: 64.81 kB / 0.7149 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.473e-05/0.2121, allocations: 11.98 kB / 0.7149 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.2122, allocations: 38.56 kB / 0.7149 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.833e-06/0.2122, allocations: 0 / 0.7149 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0008791/0.2131, allocations: 247.7 kB / 0.7152 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.2131, allocations: 55.41 kB / 0.7152 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.2133, allocations: 152.9 kB / 0.7154 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.563e-05/0.2133, allocations: 37.7 kB / 0.7154 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.2134, allocations: 132.1 kB / 0.7155 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.386e-05/0.2135, allocations: 59.48 kB / 0.7156 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.2136, allocations: 61.81 kB / 0.7156 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.2138, allocations: 322.8 kB / 0.7159 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/0.2141, allocations: 68.41 kB / 0.716 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002939/0.2143, allocations: 141.9 kB / 0.7161 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005426/0.2149, allocations: 223.1 kB / 0.7164 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.2149, allocations: 4 kB / 0.7164 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006538/0.2155, allocations: 245.4 kB / 0.7166 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.2156, allocations: 8 kB / 0.7166 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.2156, allocations: 4 kB / 0.7166 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.2156, allocations: 7.984 kB / 0.7166 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003575/0.216, allocations: 63.89 kB / 0.7167 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.216, allocations: 7.938 kB / 0.7167 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/0.2162, allocations: 27.83 kB / 0.7167 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/0.2162, allocations: 16.22 kB / 0.7167 GB, free: 3.203 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.0001517/0.2164, allocations: 137.6 kB / 0.7169 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.174e-05/0.2165, allocations: 15.91 kB / 0.7169 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007194/0.2172, allocations: 226.6 kB / 0.7171 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.2172, allocations: 4 kB / 0.7171 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2172, allocations: 0 / 0.7171 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.2172, allocations: 3.984 kB / 0.7171 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003659/0.2176, allocations: 216.7 kB / 0.7173 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.2176, allocations: 3.938 kB / 0.7173 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003104/0.2179, allocations: 51.89 kB / 0.7173 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.2179, allocations: 4 kB / 0.7174 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.2179, allocations: 4 kB / 0.7174 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2179, allocations: 0 / 0.7174 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2179, allocations: 0 / 0.7174 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006465/0.2186, allocations: 303.2 kB / 0.7176 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.2187, allocations: 23.88 kB / 0.7177 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.174e-05/0.2187, allocations: 11.98 kB / 0.7177 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002712/0.219, allocations: 15.98 kB / 0.7177 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.219, allocations: 7.984 kB / 0.7177 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-05/0.219, allocations: 15.98 kB / 0.7177 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001047/0.2191, allocations: 115.2 kB / 0.7178 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2191, allocations: 0 / 0.7178 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003937/0.2195, allocations: 67.94 kB / 0.7179 GB, free: 1.922 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.001094/0.2206, allocations: 0.8625 MB / 0.7187 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005857/0.2212, allocations: 172.4 kB / 0.7189 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/0.2212, allocations: 4 kB / 0.7189 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002432/0.2215, allocations: 82.25 kB / 0.719 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005115/0.222, allocations: 70.12 kB / 0.719 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00391/0.2259, allocations: 2.165 MB / 0.7212 GB, free: 14.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/0.2263, allocations: 0.7133 MB / 0.7219 GB, free: 13.67 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002943/0.2266, allocations: 57.91 kB / 0.7219 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.2267, allocations: 43.42 kB / 0.722 GB, free: 13.57 MB / 0.545 GB Notification: Performance of SimCode: time 7.32e-07/0.2267, allocations: 0 / 0.722 GB, free: 13.57 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02837/0.2551, allocations: 5.477 MB / 0.7273 GB, free: 8.309 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.54, allocations: 4.031 kB / 0.7273 GB, free: 8.309 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.490341810975224] Failed to read output from testmodel.py, exit status != 0: 11.710418934002519 11.73877496 11.529826374 Calling exit ...