Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.001522/0.001522, allocations: 79.42 kB / 19.76 MB, free: 1.875 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.001929/0.001929, allocations: 157.5 kB / 23.01 MB, free: 4.602 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.624/1.624, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.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.8501/0.8501, allocations: 101.3 MB / 361.1 MB, free: 9.535 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") [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.002121/0.002121, allocations: 73.19 kB / 0.5356 GB, free: 5.27 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2144, allocations: 85.88 MB / 0.6195 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002608/0.217, allocations: 1.278 MB / 0.6207 GB, free: 328 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003486/0.2205, allocations: 2.375 MB / 0.623 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.175e-05/0.2205, allocations: 4 kB / 0.623 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.342e-05/0.2205, allocations: 3.984 kB / 0.6231 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.576e-05/0.2206, allocations: 7.922 kB / 0.6231 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006423/0.2212, allocations: 131.4 kB / 0.6232 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.217e-05/0.2213, allocations: 31.86 kB / 0.6232 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.569e-05/0.2213, allocations: 11.92 kB / 0.6232 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.617e-05/0.2214, allocations: 19.92 kB / 0.6232 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.37e-05/0.2215, allocations: 23.92 kB / 0.6233 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.2215, allocations: 0 / 0.6233 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002885/0.2218, allocations: 103.8 kB / 0.6234 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.944e-05/0.2218, allocations: 4 kB / 0.6234 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.003e-05/0.2218, allocations: 15.92 kB / 0.6234 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.2221, allocations: 83.72 kB / 0.6235 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2221, allocations: 0 / 0.6235 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2221, allocations: 0 / 0.6235 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.2221, allocations: 0 / 0.6235 GB, free: 13.5 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004994/0.2226, allocations: 280.8 kB / 0.6237 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.2226, allocations: 12.62 kB / 0.6237 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002655/0.2229, allocations: 16.91 kB / 0.6238 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.223, allocations: 110.5 kB / 0.6239 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.2231, allocations: 8.375 kB / 0.6239 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.457e-05/0.2231, allocations: 8.328 kB / 0.6239 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.2234, allocations: 153.5 kB / 0.624 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.2234, allocations: 0 / 0.624 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.2234, allocations: 3.938 kB / 0.624 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.2234, allocations: 3.984 kB / 0.624 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.01e-05/0.2235, allocations: 15.98 kB / 0.6241 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007405/0.2242, allocations: 388.8 kB / 0.6244 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.2244, allocations: 75.72 kB / 0.6245 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.224e-05/0.2244, allocations: 18.64 kB / 0.6245 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.2244, allocations: 0 / 0.6245 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.2245, allocations: 38.56 kB / 0.6245 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 9.81e-07/0.2245, allocations: 0 / 0.6245 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0006648/0.2251, allocations: 221.5 kB / 0.6248 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.578e-05/0.2252, allocations: 110.8 kB / 0.6249 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.864e-05/0.2253, allocations: 109.7 kB / 0.625 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.2254, allocations: 25.7 kB / 0.625 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.009e-05/0.2254, allocations: 88.09 kB / 0.6251 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.2254, allocations: 31.73 kB / 0.6251 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.2255, allocations: 25.66 kB / 0.6251 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.2257, allocations: 322.8 kB / 0.6254 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.967e-05/0.2257, allocations: 15.98 kB / 0.6255 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.806e-05/0.2257, allocations: 49.14 kB / 0.6255 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.2258, allocations: 73.09 kB / 0.6256 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.2258, allocations: 0 / 0.6256 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000155/0.226, allocations: 98.11 kB / 0.6257 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.226, allocations: 4 kB / 0.6257 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.226, allocations: 7.938 kB / 0.6257 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.226, allocations: 0 / 0.6257 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.391e-05/0.2261, allocations: 23.92 kB / 0.6257 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.2261, allocations: 8.125 kB / 0.6257 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.886e-05/0.2262, allocations: 4 kB / 0.6257 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.2262, allocations: 8 kB / 0.6257 GB, free: 10.89 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 9.51e-05/0.2263, allocations: 118.8 kB / 0.6258 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.557e-05/0.2263, allocations: 7.984 kB / 0.6258 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.552e-05/0.2264, allocations: 11.81 kB / 0.6259 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.2264, allocations: 3.984 kB / 0.6259 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2264, allocations: 0 / 0.6259 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2264, allocations: 0 / 0.6259 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003111/0.2267, allocations: 125.2 kB / 0.626 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2267, allocations: 8 kB / 0.626 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.62e-05/0.2268, allocations: 15.98 kB / 0.626 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.2268, allocations: 0 / 0.626 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.2268, allocations: 8.062 kB / 0.626 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.2268, allocations: 0 / 0.626 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2268, allocations: 0 / 0.626 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.2271, allocations: 333.9 kB / 0.6263 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.17e-05/0.2271, allocations: 7.953 kB / 0.6263 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.2271, allocations: 7.938 kB / 0.6263 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.2273, allocations: 8.031 kB / 0.6263 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/0.2273, allocations: 8 kB / 0.6264 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.2273, allocations: 4 kB / 0.6264 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.541e-05/0.2274, allocations: 79.27 kB / 0.6264 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2274, allocations: 4 kB / 0.6264 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000315/0.2277, allocations: 12 kB / 0.6265 GB, free: 10.08 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001561/0.2279, allocations: 103.3 kB / 0.6265 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001301/0.228, allocations: 47.98 kB / 0.6266 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.228, allocations: 8.062 kB / 0.6266 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.948e-05/0.228, allocations: 19.92 kB / 0.6266 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004712/0.2285, allocations: 10.66 kB / 0.6266 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006967/0.2292, allocations: 331.6 kB / 0.6269 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.955e-05/0.2293, allocations: 71.34 kB / 0.627 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.797e-05/0.2293, allocations: 11.97 kB / 0.627 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.769e-05/0.2293, allocations: 16.5 kB / 0.627 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of SimCode: time 3.3e-07/0.2293, allocations: 0 / 0.627 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of Templates: time 0.003644/0.233, allocations: 0.6241 MB / 0.6277 GB, free: 8.809 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.945655463961884] Failed to read output from testmodel.py, exit status != 0: 0.2418204180430621 0.257782885 0.032420927 Calling exit ...