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.001692/0.001692, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002139/0.002139, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.809 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.8376/0.8376, allocations: 134 MB / 446.4 MB, free: 9.926 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.002132/0.002132, allocations: 62.78 kB / 0.6185 GB, free: 6.836 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.18, allocations: 85.91 MB / 0.7024 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006063/0.186, allocations: 3.909 MB / 0.7063 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00305/0.1891, allocations: 2.22 MB / 0.7084 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.588e-05/0.1892, allocations: 7.938 kB / 0.7084 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003271/0.1895, allocations: 43.69 kB / 0.7085 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003181/0.1898, allocations: 99.41 kB / 0.7086 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001552/0.1914, allocations: 0.5491 MB / 0.7091 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003746/0.1918, allocations: 267.9 kB / 0.7094 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.445e-05/0.1918, allocations: 13.75 kB / 0.7094 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002464/0.1921, allocations: 123.5 kB / 0.7095 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.1922, allocations: 91.59 kB / 0.7096 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.1923, allocations: 8 kB / 0.7096 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008033/0.1931, allocations: 391.4 kB / 0.71 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.517e-05/0.1932, allocations: 43.88 kB / 0.71 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.1933, allocations: 75.66 kB / 0.7101 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006598/0.1939, allocations: 407 kB / 0.7105 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1939, allocations: 0 / 0.7105 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.614e-06/0.1939, allocations: 4 kB / 0.7105 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.229e-05/0.1939, allocations: 0 / 0.7105 GB, free: 8.77 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.000875/0.1948, allocations: 449.3 kB / 0.7109 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.1949, allocations: 12.02 kB / 0.7109 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.175e-05/0.1949, allocations: 50.73 kB / 0.7109 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002017/0.1969, allocations: 188.6 kB / 0.7111 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.1973, allocations: 150.3 kB / 0.7113 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.489e-05/0.1974, allocations: 12.7 kB / 0.7113 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.214e-05/0.1974, allocations: 20.38 kB / 0.7113 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007834/0.1982, allocations: 0.4979 MB / 0.7118 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1982, allocations: 4 kB / 0.7118 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.264e-05/0.1982, allocations: 4 kB / 0.7118 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.035e-05/0.1983, allocations: 11.98 kB / 0.7118 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007082/0.199, allocations: 251.6 kB / 0.712 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.2007, allocations: 1.215 MB / 0.7132 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006989/0.2014, allocations: 182.5 kB / 0.7134 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.2016, allocations: 76.69 kB / 0.7135 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.2016, allocations: 4 kB / 0.7135 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.2017, allocations: 34.56 kB / 0.7135 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.943e-06/0.2017, allocations: 0 / 0.7135 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0008061/0.2025, allocations: 255.5 kB / 0.7138 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.2025, allocations: 51.41 kB / 0.7138 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.2027, allocations: 162.4 kB / 0.714 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/0.2027, allocations: 29.7 kB / 0.714 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.308e-05/0.2028, allocations: 128.2 kB / 0.7141 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.898e-05/0.2029, allocations: 67.42 kB / 0.7142 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.901e-05/0.203, allocations: 49.92 kB / 0.7142 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.2031, allocations: 326.8 kB / 0.7145 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.2033, allocations: 72.36 kB / 0.7146 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/0.2036, allocations: 138.3 kB / 0.7147 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004909/0.2041, allocations: 213.2 kB / 0.7149 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2041, allocations: 0 / 0.7149 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006151/0.2047, allocations: 255.7 kB / 0.7152 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.2047, allocations: 8 kB / 0.7152 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.2047, allocations: 4 kB / 0.7152 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.2048, allocations: 0 / 0.7152 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003912/0.2052, allocations: 79.81 kB / 0.7153 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.2052, allocations: 4.312 kB / 0.7153 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.2054, allocations: 31.78 kB / 0.7153 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.2054, allocations: 15.98 kB / 0.7153 GB, free: 3.41 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.0001359/0.2056, allocations: 135.6 kB / 0.7155 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.454e-05/0.2056, allocations: 15.91 kB / 0.7155 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006501/0.2063, allocations: 230.5 kB / 0.7157 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.2063, allocations: 4 kB / 0.7157 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2063, allocations: 0 / 0.7157 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.2063, allocations: 0 / 0.7157 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003045/0.2066, allocations: 212.4 kB / 0.7159 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2066, allocations: 4 kB / 0.7159 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000324/0.2069, allocations: 51.95 kB / 0.716 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.2069, allocations: 0 / 0.716 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.2069, allocations: 7.938 kB / 0.716 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.2069, allocations: 0 / 0.716 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2069, allocations: 4 kB / 0.716 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005784/0.2075, allocations: 297.7 kB / 0.7162 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.394e-05/0.2076, allocations: 31.81 kB / 0.7163 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/0.2076, allocations: 4 kB / 0.7163 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/0.2079, allocations: 15.98 kB / 0.7163 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.381e-05/0.2079, allocations: 11.98 kB / 0.7163 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.208, allocations: 15.92 kB / 0.7163 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001035/0.2081, allocations: 118.3 kB / 0.7164 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2081, allocations: 0 / 0.7164 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003735/0.2084, allocations: 67.89 kB / 0.7165 GB, free: 2.137 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.001041/0.2095, allocations: 0.8599 MB / 0.7173 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005419/0.21, allocations: 181.7 kB / 0.7175 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.21, allocations: 0 / 0.7175 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002255/0.2103, allocations: 83.83 kB / 0.7176 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004795/0.2107, allocations: 56.56 kB / 0.7176 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003497/0.2142, allocations: 2.157 MB / 0.7198 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.2144, allocations: 107.1 kB / 0.7199 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003178/0.2147, allocations: 53.91 kB / 0.7199 GB, free: 14.47 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.2148, allocations: 47.41 kB / 0.72 GB, free: 14.42 MB / 0.545 GB Notification: Performance of SimCode: time 1.142e-06/0.2148, allocations: 4 kB / 0.72 GB, free: 14.42 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03551/0.2503, allocations: 6.048 MB / 0.7259 GB, free: 8.621 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.15, allocations: 15.06 kB / 0.7259 GB, free: 8.609 MB / 0.545 GB " [Timeout remaining time 649] (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: 14.794478103052825] Failed to read output from testmodel.py, exit status != 0: 11.2603105972521 11.287514188 11.088537208 Calling exit ...