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.001536/0.001536, allocations: 110.4 kB / 18.94 MB, free: 2.953 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.001637/0.001637, allocations: 214.2 kB / 22.25 MB, free: 5.129 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 8.004 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.8806/0.8806, allocations: 134 MB / 446.4 MB, free: 10.3 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.002034/0.002034, allocations: 70.42 kB / 0.6186 GB, free: 7.168 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.195, allocations: 85.91 MB / 0.7025 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006544/0.2016, allocations: 4.184 MB / 0.7066 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003464/0.205, allocations: 2.457 MB / 0.709 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.2051, allocations: 4 kB / 0.709 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003338/0.2055, allocations: 47.67 kB / 0.709 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003624/0.2058, allocations: 107.3 kB / 0.7091 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.2074, allocations: 0.5354 MB / 0.7097 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003796/0.2078, allocations: 263.9 kB / 0.7099 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.409e-05/0.2078, allocations: 13.73 kB / 0.7099 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.2081, allocations: 123.5 kB / 0.71 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.2083, allocations: 99.64 kB / 0.7101 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.2083, allocations: 12 kB / 0.7101 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009546/0.2092, allocations: 483.2 kB / 0.7106 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.613e-05/0.2093, allocations: 39.89 kB / 0.7106 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.2094, allocations: 87.58 kB / 0.7107 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000708/0.2102, allocations: 415 kB / 0.7111 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.2102, allocations: 3.938 kB / 0.7111 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2102, allocations: 0 / 0.7111 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.2102, allocations: 0 / 0.7111 GB, free: 8.473 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.0009209/0.2111, allocations: 449.4 kB / 0.7116 GB, free: 8 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.2111, allocations: 12.03 kB / 0.7116 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.171e-05/0.2112, allocations: 54.72 kB / 0.7116 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002111/0.2133, allocations: 188.6 kB / 0.7118 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.2137, allocations: 150.3 kB / 0.7119 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.2137, allocations: 12.69 kB / 0.712 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.49e-05/0.2137, allocations: 20.38 kB / 0.712 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006856/0.2144, allocations: 304.2 kB / 0.7123 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.2145, allocations: 3.938 kB / 0.7123 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.759e-05/0.2145, allocations: 8 kB / 0.7123 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.274e-05/0.2145, allocations: 4 kB / 0.7123 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007281/0.2152, allocations: 267.6 kB / 0.7125 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001904/0.2171, allocations: 1.357 MB / 0.7139 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006599/0.2178, allocations: 174.5 kB / 0.714 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002357/0.218, allocations: 78.69 kB / 0.7141 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.565e-05/0.2181, allocations: 4 kB / 0.7141 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.2181, allocations: 46.5 kB / 0.7141 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.913e-06/0.2181, allocations: 0 / 0.7141 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0008232/0.2189, allocations: 245.3 kB / 0.7144 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.219, allocations: 55.41 kB / 0.7144 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.2192, allocations: 153.3 kB / 0.7146 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.781e-05/0.2192, allocations: 33.7 kB / 0.7146 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.2193, allocations: 132.1 kB / 0.7147 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.134e-05/0.2194, allocations: 63.47 kB / 0.7148 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.2195, allocations: 53.89 kB / 0.7149 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002028/0.2197, allocations: 334.8 kB / 0.7152 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.2199, allocations: 60.42 kB / 0.7152 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/0.2202, allocations: 146.3 kB / 0.7154 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004987/0.2207, allocations: 219.5 kB / 0.7156 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.2207, allocations: 4 kB / 0.7156 GB, free: 3.562 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006021/0.2213, allocations: 237.3 kB / 0.7158 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.2213, allocations: 13.66 kB / 0.7158 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.2213, allocations: 7.984 kB / 0.7158 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.2214, allocations: 4 kB / 0.7158 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/0.2217, allocations: 68.2 kB / 0.7159 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.2217, allocations: 4 kB / 0.7159 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.222, allocations: 31.83 kB / 0.7159 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.222, allocations: 8 kB / 0.7159 GB, free: 3.191 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.0001436/0.2222, allocations: 141.6 kB / 0.7161 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.835e-05/0.2222, allocations: 19.91 kB / 0.7161 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006623/0.2229, allocations: 218.6 kB / 0.7163 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.2229, allocations: 4 kB / 0.7163 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.2229, allocations: 7.984 kB / 0.7163 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2229, allocations: 0 / 0.7163 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003471/0.2232, allocations: 224.6 kB / 0.7165 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2232, allocations: 0 / 0.7165 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003342/0.2236, allocations: 47.91 kB / 0.7166 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.2236, allocations: 4 kB / 0.7166 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.2236, allocations: 0 / 0.7166 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2236, allocations: 0 / 0.7166 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2236, allocations: 0 / 0.7166 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005753/0.2242, allocations: 309.1 kB / 0.7169 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.403e-05/0.2243, allocations: 27.88 kB / 0.7169 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.2243, allocations: 4 kB / 0.7169 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002822/0.2246, allocations: 19.92 kB / 0.7169 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.2246, allocations: 15.97 kB / 0.7169 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/0.2247, allocations: 15.98 kB / 0.717 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.724e-05/0.2248, allocations: 114.1 kB / 0.7171 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.2248, allocations: 3.938 kB / 0.7171 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003707/0.2251, allocations: 63.94 kB / 0.7171 GB, free: 1.902 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.001025/0.2261, allocations: 0.8621 MB / 0.718 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005564/0.2267, allocations: 177.8 kB / 0.7181 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.2267, allocations: 4 kB / 0.7181 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002276/0.2269, allocations: 76.47 kB / 0.7182 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005063/0.2274, allocations: 63.95 kB / 0.7183 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003447/0.2309, allocations: 2.159 MB / 0.7204 GB, free: 14.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.2313, allocations: 0.7211 MB / 0.7211 GB, free: 13.66 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002625/0.2315, allocations: 49.92 kB / 0.7211 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.2317, allocations: 51.41 kB / 0.7212 GB, free: 13.55 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.2317, allocations: 0 / 0.7212 GB, free: 13.55 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03415/0.2658, allocations: 5.449 MB / 0.7265 GB, free: 8.312 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.23, allocations: 0 / 0.7265 GB, free: 8.312 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.078589874996396] Failed to read output from testmodel.py, exit status != 0: 11.33769736999966 11.363171965 11.148225678 Calling exit ...