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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck") translateModel(Annex60.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 192.2 kB / 16.13 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4018/0.4018, allocations: 54.93 MB / 324.3 MB, free: 68 kB / 254.1 MB 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.001377/0.001377, allocations: 63.91 kB / 394.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1772, allocations: 59.59 MB / 454.3 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterDerivativeCheck): time 0.312/0.4893, allocations: 1.31 MB / 455.6 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003951/0.4933, allocations: 3.238 MB / 458.8 MB, free: 37.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.963e-05/0.4934, allocations: 0.9688 kB / 458.8 MB, free: 37.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.72e-05/0.4934, allocations: 3.188 kB / 458.8 MB, free: 37.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.683e-05/0.4935, allocations: 10.33 kB / 458.8 MB, free: 37.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004865/0.494, allocations: 93.62 kB / 458.9 MB, free: 37.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.908e-05/0.4941, allocations: 35.03 kB / 459 MB, free: 37.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.705e-05/0.4941, allocations: 5.969 kB / 459 MB, free: 37.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.124e-05/0.4941, allocations: 26.08 kB / 459 MB, free: 37.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.936e-05/0.4942, allocations: 12.77 kB / 459 MB, free: 37.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.4942, allocations: 3.438 kB / 459 MB, free: 37.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002279/0.4945, allocations: 70.66 kB / 459.1 MB, free: 37.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.796e-05/0.4945, allocations: 14.02 kB / 459.1 MB, free: 37.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.387e-05/0.4945, allocations: 12.81 kB / 459.1 MB, free: 37.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.4947, allocations: 70.09 kB / 459.2 MB, free: 37.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.4947, allocations: 1.219 kB / 459.2 MB, free: 37.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4947, allocations: 0 / 459.2 MB, free: 37.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.4948, allocations: 0 / 459.2 MB, free: 37.61 MB / 382.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.0004083/0.4952, allocations: 353.7 kB / 459.5 MB, free: 37.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.4952, allocations: 11.78 kB / 459.5 MB, free: 37.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.4953, allocations: 6.969 kB / 459.5 MB, free: 37.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.416e-05/0.4954, allocations: 163.9 kB / 459.7 MB, free: 37.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.4954, allocations: 4.312 kB / 459.7 MB, free: 37.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.417e-05/0.4955, allocations: 9.188 kB / 459.7 MB, free: 37.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.4956, allocations: 60.11 kB / 459.8 MB, free: 37.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.4956, allocations: 1.406 kB / 459.8 MB, free: 37.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.4957, allocations: 4.375 kB / 459.8 MB, free: 37.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.4957, allocations: 3.531 kB / 459.8 MB, free: 37.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.227e-05/0.4957, allocations: 16.62 kB / 459.8 MB, free: 37.01 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001465/0.4959, allocations: 168.5 kB / 460 MB, free: 36.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.463e-05/0.496, allocations: 50.8 kB / 460 MB, free: 36.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.979e-05/0.496, allocations: 18.83 kB / 460 MB, free: 36.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005687/0.4966, allocations: 0.5894 MB / 460.6 MB, free: 36.17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.4966, allocations: 37.31 kB / 460.6 MB, free: 36.13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 2.846e-06/0.4966, allocations: 2.359 kB / 460.6 MB, free: 36.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005756/0.4972, allocations: 304.3 kB / 460.9 MB, free: 35.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.4973, allocations: 55.88 kB / 461 MB, free: 35.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.236e-05/0.4973, allocations: 95.91 kB / 461.1 MB, free: 35.72 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.4974, allocations: 29.08 kB / 461.1 MB, free: 35.69 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.548e-05/0.4974, allocations: 91.92 kB / 461.2 MB, free: 35.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.4974, allocations: 21.06 kB / 461.2 MB, free: 35.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.4975, allocations: 26.19 kB / 461.3 MB, free: 35.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.554e-05/0.4976, allocations: 326.3 kB / 461.6 MB, free: 35.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.947e-05/0.4976, allocations: 15.91 kB / 461.6 MB, free: 35.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.901e-05/0.4977, allocations: 51.14 kB / 461.6 MB, free: 35.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.223e-05/0.4977, allocations: 78.88 kB / 461.7 MB, free: 35.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.4978, allocations: 0 / 461.7 MB, free: 35.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001172/0.4979, allocations: 99.84 kB / 461.8 MB, free: 35.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.4979, allocations: 6.281 kB / 461.8 MB, free: 35.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.4979, allocations: 4.125 kB / 461.8 MB, free: 35.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.4979, allocations: 3.062 kB / 461.8 MB, free: 35.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.252e-05/0.498, allocations: 20.84 kB / 461.8 MB, free: 35.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.498, allocations: 5.469 kB / 461.9 MB, free: 35.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.403e-05/0.4981, allocations: 15.08 kB / 461.9 MB, free: 35.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.4981, allocations: 2.719 kB / 461.9 MB, free: 35.12 MB / 382.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 8.994e-05/0.4982, allocations: 120.7 kB / 462 MB, free: 35 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.4982, allocations: 2.906 kB / 462 MB, free: 35 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.014e-05/0.4983, allocations: 10.28 kB / 462 MB, free: 35 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.4983, allocations: 0 / 462 MB, free: 35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.4983, allocations: 0 / 462 MB, free: 35 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.4983, allocations: 3.938 kB / 462 MB, free: 35 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002202/0.4985, allocations: 180 kB / 462.2 MB, free: 34.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4985, allocations: 0 / 462.2 MB, free: 34.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.19e-05/0.4986, allocations: 14.44 kB / 462.2 MB, free: 34.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.4986, allocations: 6.562 kB / 462.2 MB, free: 34.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.4987, allocations: 3.047 kB / 462.2 MB, free: 34.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4987, allocations: 0 / 462.2 MB, free: 34.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4987, allocations: 0 / 462.2 MB, free: 34.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.4988, allocations: 174.2 kB / 462.4 MB, free: 34.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.348e-05/0.4989, allocations: 79.98 kB / 462.5 MB, free: 34.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.4989, allocations: 6.5 kB / 462.5 MB, free: 34.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.499, allocations: 3.969 kB / 462.5 MB, free: 34.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.009e-05/0.4991, allocations: 7.031 kB / 462.5 MB, free: 34.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.4991, allocations: 10.86 kB / 462.5 MB, free: 34.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.773e-05/0.4991, allocations: 78.59 kB / 462.6 MB, free: 34.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4991, allocations: 3.938 kB / 462.6 MB, free: 34.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002342/0.4994, allocations: 15.19 kB / 462.6 MB, free: 34.49 MB / 382.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.000109/0.4995, allocations: 95.28 kB / 462.7 MB, free: 34.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001133/0.4996, allocations: 47.39 kB / 462.7 MB, free: 34.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4996, allocations: 384 / 462.7 MB, free: 34.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.088e-05/0.4996, allocations: 19.44 kB / 462.7 MB, free: 34.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.5, allocations: 9.984 kB / 462.7 MB, free: 34.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005603/0.5005, allocations: 341.9 kB / 463.1 MB, free: 34.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.5007, allocations: 0.688 MB / 463.8 MB, free: 33.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.305e-05/0.5008, allocations: 8.812 kB / 463.8 MB, free: 33.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.305e-05/0.5008, allocations: 10.75 kB / 463.8 MB, free: 33.46 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.5008, allocations: 0 / 463.8 MB, free: 33.46 MB / 382.1 MB Notification: Performance of Templates: time 0.003175/0.504, allocations: 0.5926 MB / 464.4 MB, free: 33.42 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.makefile (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)