Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002429/0.002429, allocations: 190.7 kB / 22.11 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.608/1.608, allocations: 207.6 MB / 232.8 MB, free: 10.03 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3103/0.3103, allocations: 55.67 MB / 340.7 MB, free: 13.98 MB / 286.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck") translateModel(Annex60.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002374/0.002374, allocations: 75.89 kB / 482 MB, free: 6.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4198/0.4222, allocations: 62.86 MB / 0.5321 GB, free: 7.91 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterDerivativeCheck): time 0.0029/0.4251, allocations: 1.257 MB / 0.5333 GB, free: 7.027 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005196/0.4303, allocations: 3.301 MB / 0.5366 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.607e-05/0.4303, allocations: 0 / 0.5366 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.789e-05/0.4304, allocations: 0.8906 kB / 0.5366 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.227e-05/0.4304, allocations: 9.859 kB / 0.5366 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007185/0.4312, allocations: 112 kB / 0.5367 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000108/0.4313, allocations: 29.09 kB / 0.5367 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.378e-05/0.4313, allocations: 11.91 kB / 0.5367 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.137e-05/0.4314, allocations: 23.3 kB / 0.5367 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.626e-05/0.4315, allocations: 14.5 kB / 0.5368 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.4315, allocations: 2.312 kB / 0.5368 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002804/0.4318, allocations: 67.16 kB / 0.5368 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.464e-05/0.4318, allocations: 7.75 kB / 0.5368 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.462e-05/0.4318, allocations: 16.14 kB / 0.5368 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002667/0.4321, allocations: 66.59 kB / 0.5369 GB, free: 4.492 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4321, allocations: 0 / 0.5369 GB, free: 4.492 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4321, allocations: 1.094 kB / 0.5369 GB, free: 4.492 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.4321, allocations: 4 kB / 0.5369 GB, free: 4.488 MB / 398.1 MB 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.0005146/0.4326, allocations: 276.5 kB / 0.5372 GB, free: 4.215 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.4327, allocations: 10.73 kB / 0.5372 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.4328, allocations: 5.344 kB / 0.5372 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.307e-05/0.4329, allocations: 108.4 kB / 0.5373 GB, free: 4.086 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.4329, allocations: 2.344 kB / 0.5373 GB, free: 4.086 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.433, allocations: 8.375 kB / 0.5373 GB, free: 4.082 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.4331, allocations: 54.67 kB / 0.5374 GB, free: 4.043 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.4331, allocations: 4 kB / 0.5374 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.4332, allocations: 1.375 kB / 0.5374 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.4332, allocations: 0 / 0.5374 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.878e-05/0.4332, allocations: 20.02 kB / 0.5374 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002045/0.4334, allocations: 142.5 kB / 0.5375 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.4336, allocations: 47.92 kB / 0.5376 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.332e-05/0.4336, allocations: 12.16 kB / 0.5376 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000725/0.4343, allocations: 259.2 kB / 0.5378 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.4344, allocations: 33.02 kB / 0.5379 GB, free: 3.578 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.4344, allocations: 0 / 0.5379 GB, free: 3.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006817/0.4351, allocations: 232.4 kB / 0.5381 GB, free: 3.383 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.4351, allocations: 51.41 kB / 0.5381 GB, free: 3.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.679e-05/0.4352, allocations: 100.5 kB / 0.5382 GB, free: 3.219 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.4352, allocations: 31.34 kB / 0.5382 GB, free: 3.184 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.59e-05/0.4352, allocations: 89.92 kB / 0.5383 GB, free: 3.094 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.4352, allocations: 25.28 kB / 0.5384 GB, free: 3.074 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.883e-05/0.4353, allocations: 27.41 kB / 0.5384 GB, free: 3.051 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 4.911e-05/0.4353, allocations: 318.4 kB / 0.5387 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.876e-05/0.4354, allocations: 17.06 kB / 0.5387 GB, free: 2.727 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.079e-05/0.4354, allocations: 56.66 kB / 0.5388 GB, free: 2.668 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.4355, allocations: 77.52 kB / 0.5388 GB, free: 2.598 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4355, allocations: 4 kB / 0.5388 GB, free: 2.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000192/0.4357, allocations: 94.59 kB / 0.5389 GB, free: 2.539 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.4357, allocations: 5.875 kB / 0.5389 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.4358, allocations: 1.375 kB / 0.5389 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.4358, allocations: 2.531 kB / 0.5389 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.4359, allocations: 19.3 kB / 0.539 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.4359, allocations: 2.562 kB / 0.539 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.45e-05/0.4359, allocations: 10.5 kB / 0.539 GB, free: 2.531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.436, allocations: 8.391 kB / 0.539 GB, free: 2.527 MB / 398.1 MB 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 7.391e-05/0.436, allocations: 125.3 kB / 0.5391 GB, free: 2.398 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.4361, allocations: 2.75 kB / 0.5391 GB, free: 2.398 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.538e-05/0.4361, allocations: 10.05 kB / 0.5391 GB, free: 2.387 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.4361, allocations: 0 / 0.5391 GB, free: 2.387 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.4361, allocations: 1.406 kB / 0.5391 GB, free: 2.387 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4361, allocations: 4.594 kB / 0.5391 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.4364, allocations: 144.7 kB / 0.5393 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4364, allocations: 0.5625 kB / 0.5393 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.4365, allocations: 19.17 kB / 0.5393 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.4365, allocations: 5.062 kB / 0.5393 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.4365, allocations: 1.938 kB / 0.5393 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4365, allocations: 0 / 0.5393 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4365, allocations: 0.5625 kB / 0.5393 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/0.4367, allocations: 176.1 kB / 0.5394 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.517e-05/0.4368, allocations: 4.969 kB / 0.5394 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.4368, allocations: 2.547 kB / 0.5395 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.4369, allocations: 14.25 kB / 0.5395 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.953e-05/0.4369, allocations: 3.453 kB / 0.5395 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.4369, allocations: 7.047 kB / 0.5395 GB, free: 2.047 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.378e-05/0.4369, allocations: 79.16 kB / 0.5396 GB, free: 1.973 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4369, allocations: 3.938 kB / 0.5396 GB, free: 1.969 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002369/0.4372, allocations: 14.34 kB / 0.5396 GB, free: 1.965 MB / 398.1 MB 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.0001111/0.4373, allocations: 95.91 kB / 0.5397 GB, free: 1.875 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001536/0.4374, allocations: 44.81 kB / 0.5397 GB, free: 1.859 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4374, allocations: 1.188 kB / 0.5397 GB, free: 1.859 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.808e-05/0.4375, allocations: 15.88 kB / 0.5397 GB, free: 1.855 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.4378, allocations: 15.5 kB / 0.5397 GB, free: 1.848 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005487/0.4384, allocations: 320.5 kB / 0.54 GB, free: 1.586 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.4385, allocations: 0.6828 MB / 0.5407 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.398e-05/0.4385, allocations: 9.453 kB / 0.5407 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.651e-05/0.4386, allocations: 10.91 kB / 0.5407 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4386, allocations: 0 / 0.5407 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of Templates: time 0.005215/0.4438, allocations: 0.6771 MB / 0.5414 GB, free: 0.7812 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.503332565538585] Failed to read output from testmodel.py, exit status != 0: 0.4547269642353058 0.48236721400000004 0.045191555 Calling exit ...