Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization.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.Fluid.Actuators.Valves.Examples.ValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization") translateModel(Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005277/0.005277, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001278/0.001278, allocations: 197.5 kB / 16.68 MB, free: 5.977 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.214/1.214, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2473/0.2473, allocations: 54.96 MB / 324.9 MB, free: 4.848 MB / 270.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.001365/0.001365, allocations: 79.83 kB / 456.2 MB, free: 2.605 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1036, allocations: 59.59 MB / 0.5037 GB, free: 7.062 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization): time 0.2367/0.3403, allocations: 25.28 MB / 0.5284 GB, free: 7.113 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01094/0.3513, allocations: 9.899 MB / 0.5381 GB, free: 6.898 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007484/0.3521, allocations: 28.91 kB / 0.5381 GB, free: 6.898 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008476/0.353, allocations: 361.9 kB / 0.5384 GB, free: 6.891 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001644/0.3546, allocations: 0.7903 MB / 0.5392 GB, free: 6.727 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001729/0.3564, allocations: 0.7791 MB / 0.54 GB, free: 6.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001587/0.358, allocations: 1.684 MB / 0.5416 GB, free: 6.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007268/0.3587, allocations: 0.5792 MB / 0.5422 GB, free: 6.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001224/0.3599, allocations: 0.8279 MB / 0.543 GB, free: 6.07 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006266/0.3606, allocations: 0.5397 MB / 0.5435 GB, free: 5.953 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.953e-05/0.3607, allocations: 52.97 kB / 0.5436 GB, free: 5.953 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009522/0.3617, allocations: 0.4993 MB / 0.5441 GB, free: 5.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.3618, allocations: 161.9 kB / 0.5442 GB, free: 5.898 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003274/0.3622, allocations: 379.2 kB / 0.5446 GB, free: 5.785 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.3633, allocations: 0.9746 MB / 0.5455 GB, free: 5.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3633, allocations: 13.06 kB / 0.5455 GB, free: 5.469 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3633, allocations: 0 / 0.5455 GB, free: 5.469 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.3633, allocations: 0.6562 kB / 0.5455 GB, free: 5.469 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001277/0.3646, allocations: 1.065 MB / 0.5466 GB, free: 4.711 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.3646, allocations: 8 kB / 0.5466 GB, free: 4.711 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002434/0.3649, allocations: 93.3 kB / 0.5467 GB, free: 4.668 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000628/0.3655, allocations: 0.5137 MB / 0.5472 GB, free: 4.312 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-05/0.3656, allocations: 93.98 kB / 0.5473 GB, free: 4.234 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.003e-05/0.3657, allocations: 50.28 kB / 0.5473 GB, free: 4.219 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.367, allocations: 0.6293 MB / 0.5479 GB, free: 3.926 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.3671, allocations: 3.938 kB / 0.5479 GB, free: 3.922 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.435e-05/0.3671, allocations: 26.3 kB / 0.548 GB, free: 3.906 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/0.3671, allocations: 14.16 kB / 0.548 GB, free: 3.906 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.3683, allocations: 400.5 kB / 0.5484 GB, free: 3.805 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002512/0.3708, allocations: 2.826 MB / 0.5511 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007787/0.3716, allocations: 235.9 kB / 0.5513 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.3717, allocations: 81.66 kB / 0.5514 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.3718, allocations: 6.141 kB / 0.5514 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.3718, allocations: 42.73 kB / 0.5515 GB, free: 1.324 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.3718, allocations: 0 / 0.5515 GB, free: 1.324 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001674/0.3735, allocations: 443.7 kB / 0.5519 GB, free: 1.195 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.3735, allocations: 161.5 kB / 0.552 GB, free: 1.004 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006176/0.3741, allocations: 0.5989 MB / 0.5526 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.3742, allocations: 32.2 kB / 0.5527 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.3744, allocations: 347.3 kB / 0.553 GB, free: 436 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.3744, allocations: 59.48 kB / 0.553 GB, free: 388 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.3745, allocations: 81.67 kB / 0.5531 GB, free: 344 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.3746, allocations: 370.9 kB / 0.5535 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003562/0.375, allocations: 133 kB / 0.5536 GB, free: 15.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000435/0.3754, allocations: 278.7 kB / 0.5539 GB, free: 15.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007414/0.3762, allocations: 343.2 kB / 0.5542 GB, free: 15.54 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3762, allocations: 1.531 kB / 0.5542 GB, free: 15.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001048/0.3772, allocations: 461.9 kB / 0.5546 GB, free: 15.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3773, allocations: 6.031 kB / 0.5546 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3773, allocations: 3.469 kB / 0.5547 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.3773, allocations: 4.906 kB / 0.5547 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003409/0.3807, allocations: 0.5645 MB / 0.5552 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006418/0.3871, allocations: 4.949 MB / 0.56 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000669/0.3878, allocations: 72.41 kB / 0.5601 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.704e-05/0.3879, allocations: 16.23 kB / 0.5601 GB, free: 10.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004713/0.3884, allocations: 236.4 kB / 0.5604 GB, free: 10.69 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000319/0.3887, allocations: 227.1 kB / 0.5606 GB, free: 10.49 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004873/0.3892, allocations: 288.3 kB / 0.5608 GB, free: 10.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.757e-06/0.3892, allocations: 1.406 kB / 0.5608 GB, free: 10.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0007774/0.39, allocations: 384.2 kB / 0.5612 GB, free: 10.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.39, allocations: 14.84 kB / 0.5612 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.3901, allocations: 4.125 kB / 0.5612 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.3901, allocations: 5.5 kB / 0.5612 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003773/0.3904, allocations: 95.41 kB / 0.5613 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.3905, allocations: 9.438 kB / 0.5613 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004823/0.391, allocations: 42.11 kB / 0.5614 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.391, allocations: 17.72 kB / 0.5614 GB, free: 10.08 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002394/0.3913, allocations: 204.7 kB / 0.5616 GB, free: 9.879 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002207/0.3915, allocations: 67.61 kB / 0.5617 GB, free: 9.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.3916, allocations: 51 kB / 0.5617 GB, free: 9.809 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.3916, allocations: 2.094 kB / 0.5617 GB, free: 9.809 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3916, allocations: 1.312 kB / 0.5617 GB, free: 9.809 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3916, allocations: 1.359 kB / 0.5617 GB, free: 9.809 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.3928, allocations: 0.6969 MB / 0.5624 GB, free: 9.301 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.84e-05/0.3928, allocations: 9.25 kB / 0.5624 GB, free: 9.293 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002982/0.3958, allocations: 491.6 kB / 0.5629 GB, free: 9.277 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.3958, allocations: 0.9375 kB / 0.5629 GB, free: 9.277 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.3958, allocations: 6.125 kB / 0.5629 GB, free: 9.273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005853/0.4017, allocations: 4.846 MB / 0.5676 GB, free: 4.758 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.4017, allocations: 1.219 kB / 0.5676 GB, free: 4.758 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007568/0.4025, allocations: 383.2 kB / 0.568 GB, free: 4.488 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.4026, allocations: 137.6 kB / 0.5681 GB, free: 4.352 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.45e-05/0.4027, allocations: 10.56 kB / 0.5681 GB, free: 4.344 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004811/0.4032, allocations: 45.16 kB / 0.5682 GB, free: 4.324 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.45e-05/0.4033, allocations: 17.44 kB / 0.5682 GB, free: 4.312 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/0.4033, allocations: 9.562 kB / 0.5682 GB, free: 4.309 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004756/0.4038, allocations: 417.6 kB / 0.5686 GB, free: 4.066 MB / 430.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4038, allocations: 0 / 0.5686 GB, free: 4.066 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009736/0.4048, allocations: 309 kB / 0.5689 GB, free: 4.012 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003659/0.4052, allocations: 180.8 kB / 0.569 GB, free: 3.887 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004449/0.4096, allocations: 0.9454 MB / 0.57 GB, free: 3.488 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.4096, allocations: 1.938 kB / 0.57 GB, free: 3.488 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006112/0.4158, allocations: 0.9917 MB / 0.5709 GB, free: 3.113 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.417, allocations: 278 kB / 0.5712 GB, free: 2.98 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002933/0.42, allocations: 1.25 MB / 0.5724 GB, free: 2.246 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.4204, allocations: 0.8841 MB / 0.5733 GB, free: 1.457 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003931/0.4208, allocations: 109.3 kB / 0.5734 GB, free: 1.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.182e-05/0.4209, allocations: 42.27 kB / 0.5734 GB, free: 1.398 MB / 430.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4209, allocations: 0 / 0.5734 GB, free: 1.398 MB / 430.1 MB Notification: Performance of Templates: time 0.01776/0.4387, allocations: 10.97 MB / 0.5841 GB, free: 11.58 MB / 446.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization.pipe 2>&1)