Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.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.001383/0.001383, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001513/0.001513, 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.498/1.498, allocations: 177.2 MB / 203.4 MB, free: 8.953 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.8167/0.8167, allocations: 101.3 MB / 361.1 MB, free: 8.805 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.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck") translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck") [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.002236/0.002236, allocations: 71.89 kB / 0.5356 GB, free: 12.73 MB / 462.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.1604/0.1626, allocations: 85.88 MB / 0.6195 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002636/0.1653, allocations: 1.272 MB / 0.6207 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004398/0.1697, allocations: 3.091 MB / 0.6237 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.851e-05/0.1697, allocations: 0 / 0.6237 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.344e-05/0.1697, allocations: 0 / 0.6237 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.878e-05/0.1698, allocations: 7.922 kB / 0.6237 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006049/0.1704, allocations: 103.5 kB / 0.6238 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.435e-05/0.1705, allocations: 35.84 kB / 0.6239 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.927e-05/0.1705, allocations: 4 kB / 0.6239 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.053e-05/0.1706, allocations: 27.91 kB / 0.6239 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.466e-05/0.1707, allocations: 19.92 kB / 0.6239 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.1707, allocations: 0 / 0.6239 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002467/0.1709, allocations: 67.81 kB / 0.624 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.935e-05/0.1709, allocations: 7.938 kB / 0.624 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.241e-05/0.171, allocations: 15.98 kB / 0.624 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.1712, allocations: 71.67 kB / 0.6241 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1712, allocations: 0 / 0.6241 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1712, allocations: 0 / 0.6241 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.1712, allocations: 0 / 0.6241 GB, free: 2.086 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.0004686/0.1717, allocations: 274.3 kB / 0.6243 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1717, allocations: 8.031 kB / 0.6243 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.54e-05/0.1718, allocations: 4.938 kB / 0.6243 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.1719, allocations: 106.5 kB / 0.6244 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.1719, allocations: 8.375 kB / 0.6244 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.1719, allocations: 8.328 kB / 0.6244 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.1721, allocations: 134.9 kB / 0.6246 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1721, allocations: 0 / 0.6246 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.1721, allocations: 3.938 kB / 0.6246 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.1722, allocations: 0 / 0.6246 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.339e-05/0.1722, allocations: 31.91 kB / 0.6246 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000171/0.1724, allocations: 109.3 kB / 0.6247 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.1725, allocations: 54.55 kB / 0.6248 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.929e-05/0.1725, allocations: 12.84 kB / 0.6248 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005651/0.1731, allocations: 241.9 kB / 0.625 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.1731, allocations: 38.5 kB / 0.625 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1731, allocations: 4 kB / 0.6251 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0005743/0.1737, allocations: 225.5 kB / 0.6253 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.1737, allocations: 59.39 kB / 0.6253 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.267e-05/0.1738, allocations: 101.8 kB / 0.6254 GB, free: 496 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.1738, allocations: 29.7 kB / 0.6254 GB, free: 460 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.209e-05/0.1739, allocations: 84.09 kB / 0.6255 GB, free: 372 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.1739, allocations: 31.73 kB / 0.6256 GB, free: 340 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.147e-05/0.174, allocations: 25.72 kB / 0.6256 GB, free: 308 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.1741, allocations: 318.8 kB / 0.6259 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.864e-05/0.1742, allocations: 12 kB / 0.6259 GB, free: 15.97 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.039e-05/0.1742, allocations: 57.14 kB / 0.626 GB, free: 15.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.1744, allocations: 77.02 kB / 0.626 GB, free: 15.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1744, allocations: 0 / 0.626 GB, free: 15.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001528/0.1745, allocations: 97.5 kB / 0.6261 GB, free: 15.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.1745, allocations: 6.344 kB / 0.6261 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1745, allocations: 3.938 kB / 0.6261 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.1745, allocations: 7.938 kB / 0.6261 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.789e-05/0.1746, allocations: 16 kB / 0.6262 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.1746, allocations: 12.11 kB / 0.6262 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.872e-05/0.1747, allocations: 7.938 kB / 0.6262 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.1747, allocations: 4 kB / 0.6262 GB, free: 15.64 MB / 0.545 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 0.0001016/0.1748, allocations: 118.8 kB / 0.6263 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/0.1748, allocations: 4 kB / 0.6263 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.781e-05/0.1748, allocations: 8.125 kB / 0.6263 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1748, allocations: 0 / 0.6263 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1749, allocations: 0 / 0.6263 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.1749, allocations: 0 / 0.6263 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.1751, allocations: 121.2 kB / 0.6264 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1751, allocations: 0 / 0.6264 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.205e-05/0.1752, allocations: 23.98 kB / 0.6264 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1752, allocations: 0 / 0.6264 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.1752, allocations: 4 kB / 0.6264 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1752, allocations: 0 / 0.6264 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.1752, allocations: 3.938 kB / 0.6264 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.1754, allocations: 179.4 kB / 0.6266 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/0.1754, allocations: 4.438 kB / 0.6266 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.1755, allocations: 4.031 kB / 0.6266 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.1756, allocations: 0 / 0.6266 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.531e-05/0.1756, allocations: 12 kB / 0.6266 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.1756, allocations: 4 kB / 0.6266 GB, free: 15.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.528e-05/0.1756, allocations: 83.64 kB / 0.6267 GB, free: 15.02 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1756, allocations: 0 / 0.6267 GB, free: 15.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002497/0.1759, allocations: 16 kB / 0.6267 GB, free: 15 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001368/0.176, allocations: 95.38 kB / 0.6268 GB, free: 14.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001184/0.1761, allocations: 51.8 kB / 0.6269 GB, free: 14.85 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1761, allocations: 0 / 0.6269 GB, free: 14.85 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.852e-05/0.1762, allocations: 12.23 kB / 0.6269 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.1765, allocations: 14.53 kB / 0.6269 GB, free: 14.83 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006241/0.1771, allocations: 326.6 kB / 0.6272 GB, free: 14.48 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.303e-05/0.1772, allocations: 67.28 kB / 0.6273 GB, free: 14.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.836e-05/0.1772, allocations: 8 kB / 0.6273 GB, free: 14.39 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.1772, allocations: 16.48 kB / 0.6273 GB, free: 14.38 MB / 0.545 GB Notification: Performance of SimCode: time 5.81e-07/0.1772, allocations: 0 / 0.6273 GB, free: 14.38 MB / 0.545 GB Notification: Performance of Templates: time 0.003253/0.1805, allocations: 0.6121 MB / 0.6279 GB, free: 13.78 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.46283004200086] Failed to read output from testmodel.py, exit status != 0: 0.1897103840019554 0.205402198 0.030940321000000003 Calling exit ...