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.001683/0.001683, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001948/0.001948, allocations: 220.5 kB / 23.03 MB, free: 4.945 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.8583/0.8583, allocations: 134 MB / 447.2 MB, free: 9.973 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.00194/0.00194, allocations: 65.64 kB / 0.6193 GB, free: 6.848 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1918, allocations: 85.92 MB / 0.7032 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006821/0.1986, allocations: 3.897 MB / 0.707 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003493/0.2021, allocations: 2.216 MB / 0.7092 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.2022, allocations: 0 / 0.7092 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003412/0.2026, allocations: 51.67 kB / 0.7092 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000408/0.203, allocations: 103.3 kB / 0.7093 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001879/0.2049, allocations: 0.5362 MB / 0.7098 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005875/0.2054, allocations: 271.8 kB / 0.7101 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.122e-05/0.2055, allocations: 13.75 kB / 0.7101 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003962/0.2059, allocations: 123.5 kB / 0.7102 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002284/0.2062, allocations: 99.64 kB / 0.7103 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.2062, allocations: 8 kB / 0.7103 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.2072, allocations: 407.3 kB / 0.7107 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.2073, allocations: 39.89 kB / 0.7108 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.2074, allocations: 75.7 kB / 0.7108 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.2085, allocations: 407 kB / 0.7112 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2085, allocations: 0 / 0.7112 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.492e-06/0.2085, allocations: 0 / 0.7112 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.2085, allocations: 4 kB / 0.7112 GB, free: 8.762 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.0009803/0.2095, allocations: 453.3 kB / 0.7117 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.2095, allocations: 8.031 kB / 0.7117 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.182e-05/0.2095, allocations: 8.453 kB / 0.7117 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.391e-05/0.2096, allocations: 50.73 kB / 0.7117 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002329/0.2119, allocations: 188.6 kB / 0.7119 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004137/0.2123, allocations: 146.4 kB / 0.712 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.2124, allocations: 12.7 kB / 0.7121 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.891e-05/0.2124, allocations: 20.12 kB / 0.7121 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008918/0.2133, allocations: 0.5018 MB / 0.7126 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.2133, allocations: 3.938 kB / 0.7126 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.385e-05/0.2134, allocations: 8 kB / 0.7126 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.355e-05/0.2134, allocations: 4 kB / 0.7126 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007967/0.2142, allocations: 259.6 kB / 0.7128 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001863/0.2161, allocations: 1.215 MB / 0.714 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007281/0.2168, allocations: 185.9 kB / 0.7142 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002388/0.217, allocations: 68.8 kB / 0.7143 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/0.2171, allocations: 8 kB / 0.7143 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.2171, allocations: 34.56 kB / 0.7143 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 2.265e-06/0.2171, allocations: 0 / 0.7143 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0008733/0.218, allocations: 251.5 kB / 0.7145 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.218, allocations: 55.41 kB / 0.7146 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.2182, allocations: 150.5 kB / 0.7147 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.2182, allocations: 33.7 kB / 0.7148 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.917e-05/0.2183, allocations: 136.1 kB / 0.7149 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.531e-05/0.2184, allocations: 63.47 kB / 0.715 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.2185, allocations: 49.89 kB / 0.715 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.2187, allocations: 326.8 kB / 0.7153 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.2189, allocations: 72.41 kB / 0.7154 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003757/0.2193, allocations: 134.3 kB / 0.7155 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005547/0.2198, allocations: 223.6 kB / 0.7157 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2198, allocations: 0 / 0.7157 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000661/0.2205, allocations: 249.3 kB / 0.716 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.2205, allocations: 4 kB / 0.716 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.2205, allocations: 7.984 kB / 0.716 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.2206, allocations: 4 kB / 0.716 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004232/0.221, allocations: 71.89 kB / 0.716 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.221, allocations: 4.312 kB / 0.7161 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002625/0.2213, allocations: 31.83 kB / 0.7161 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/0.2213, allocations: 12 kB / 0.7161 GB, free: 3.406 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.0001535/0.2214, allocations: 141.6 kB / 0.7162 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.21e-05/0.2215, allocations: 15.91 kB / 0.7162 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007162/0.2222, allocations: 226.6 kB / 0.7165 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.2222, allocations: 3.938 kB / 0.7165 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.2222, allocations: 3.938 kB / 0.7165 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.966e-06/0.2222, allocations: 4 kB / 0.7165 GB, free: 3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.2226, allocations: 208.4 kB / 0.7167 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.2226, allocations: 7.938 kB / 0.7167 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000346/0.2229, allocations: 51.97 kB / 0.7167 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.2229, allocations: 0 / 0.7167 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.2229, allocations: 11.98 kB / 0.7167 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.2229, allocations: 0 / 0.7167 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2229, allocations: 0 / 0.7167 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006279/0.2236, allocations: 301.8 kB / 0.717 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.513e-05/0.2237, allocations: 27.88 kB / 0.7171 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/0.2237, allocations: 8 kB / 0.7171 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002975/0.224, allocations: 15.98 kB / 0.7171 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/0.224, allocations: 11.97 kB / 0.7171 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.1e-05/0.2241, allocations: 12 kB / 0.7171 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.833e-05/0.2242, allocations: 114.1 kB / 0.7172 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.2242, allocations: 0 / 0.7172 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004002/0.2246, allocations: 67.92 kB / 0.7173 GB, free: 2.125 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.00105/0.2256, allocations: 0.8644 MB / 0.7181 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005799/0.2262, allocations: 171.9 kB / 0.7183 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2262, allocations: 0 / 0.7183 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003009/0.2265, allocations: 89.72 kB / 0.7184 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005272/0.227, allocations: 60.52 kB / 0.7184 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00367/0.2307, allocations: 2.165 MB / 0.7205 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.2308, allocations: 107.1 kB / 0.7206 GB, free: 14.49 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002971/0.2311, allocations: 49.94 kB / 0.7207 GB, free: 14.44 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.2313, allocations: 47.41 kB / 0.7207 GB, free: 14.39 MB / 0.545 GB Notification: Performance of SimCode: time 1.062e-06/0.2313, allocations: 0 / 0.7207 GB, free: 14.39 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02912/0.2604, allocations: 5.767 MB / 0.7264 GB, free: 8.891 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.79, allocations: 10.03 kB / 0.7264 GB, free: 8.883 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.616487239021808] Failed to read output from testmodel.py, exit status != 0: 11.956474442966282 11.978010435 11.765757674 Calling exit ...