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.001142/0.001142, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001694/0.001694, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.794/1.794, allocations: 205.4 MB / 222.1 MB, free: 5.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4223/0.4223, allocations: 55.01 MB / 325.4 MB, free: 0.5977 MB / 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.0008214/0.0008217, allocations: 16 kB / 396.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4331/0.4339, allocations: 60.72 MB / 457.4 MB, free: 38.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization): time 0.02389/0.4579, allocations: 23.24 MB / 480.6 MB, free: 25.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01437/0.4723, allocations: 9.365 MB / 490 MB, free: 19.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001263/0.4736, allocations: 24.19 kB / 490 MB, free: 19.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009903/0.4746, allocations: 250.5 kB / 490.2 MB, free: 18.89 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001789/0.4764, allocations: 0.6688 MB / 490.9 MB, free: 18.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.4784, allocations: 0.6572 MB / 491.6 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002505/0.4809, allocations: 1.982 MB / 493.5 MB, free: 17.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007472/0.4817, allocations: 465.2 kB / 494 MB, free: 17.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001498/0.4832, allocations: 0.6897 MB / 494.7 MB, free: 16.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006611/0.4838, allocations: 0.5217 MB / 495.2 MB, free: 16.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.594e-05/0.4839, allocations: 26.25 kB / 495.2 MB, free: 16.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009455/0.4849, allocations: 460.2 kB / 495.7 MB, free: 16.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.485, allocations: 124.5 kB / 495.8 MB, free: 16.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002064/0.4852, allocations: 159.2 kB / 496 MB, free: 16.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.4863, allocations: 0.6868 MB / 496.7 MB, free: 16.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.4863, allocations: 3.188 kB / 496.7 MB, free: 16.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4863, allocations: 4 kB / 496.7 MB, free: 16.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.4863, allocations: 0 / 496.7 MB, free: 16.29 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001729/0.4881, allocations: 0.9158 MB / 497.6 MB, free: 15.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.823e-05/0.4881, allocations: 8.812 kB / 497.6 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004408/0.4886, allocations: 93.22 kB / 497.7 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007776/0.4894, allocations: 470 kB / 498.1 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.4895, allocations: 96.34 kB / 498.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.962e-05/0.4896, allocations: 51.95 kB / 498.3 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.4913, allocations: 0.6701 MB / 499 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/0.4913, allocations: 1.125 kB / 499 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.242e-05/0.4914, allocations: 21.77 kB / 499 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.18e-05/0.4915, allocations: 20.84 kB / 499 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.4927, allocations: 441.2 kB / 499.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003102/0.4958, allocations: 2.83 MB / 0.4905 GB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009047/0.4967, allocations: 275.2 kB / 0.4907 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.4969, allocations: 82.88 kB / 0.4908 GB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.4969, allocations: 3.188 kB / 0.4908 GB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.497, allocations: 38.06 kB / 0.4909 GB, free: 12.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 2.805e-06/0.497, allocations: 0 / 0.4909 GB, free: 12.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.00207/0.4991, allocations: 0.5128 MB / 0.4914 GB, free: 12.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.4991, allocations: 158.5 kB / 0.4915 GB, free: 11.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007687/0.4999, allocations: 0.5934 MB / 0.4921 GB, free: 11.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.308e-05/0.5, allocations: 36.52 kB / 0.4921 GB, free: 11.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/0.5002, allocations: 347.4 kB / 0.4925 GB, free: 11.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.436e-05/0.5002, allocations: 53.28 kB / 0.4925 GB, free: 11.26 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.787e-05/0.5003, allocations: 6.031 kB / 0.4925 GB, free: 11.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.5004, allocations: 370.3 kB / 0.4929 GB, free: 10.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003731/0.5008, allocations: 145.9 kB / 0.493 GB, free: 10.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004422/0.5012, allocations: 284.5 kB / 0.4933 GB, free: 10.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004074/0.5016, allocations: 169.8 kB / 0.4934 GB, free: 10.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.5016, allocations: 5.188 kB / 0.4934 GB, free: 10.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001045/0.5027, allocations: 485.8 kB / 0.4939 GB, free: 10.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.244e-05/0.5028, allocations: 185.7 kB / 0.4941 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.5028, allocations: 6.719 kB / 0.4941 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.5028, allocations: 10.22 kB / 0.4941 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004177/0.507, allocations: 0.7516 MB / 0.4948 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006596/0.5137, allocations: 4.845 MB / 0.4996 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.5148, allocations: 105.6 kB / 0.4997 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.872e-05/0.5149, allocations: 13.19 kB / 0.4997 GB, free: 5.949 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.5149, allocations: 7.656 kB / 0.4997 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007533/0.5157, allocations: 311.5 kB / 0.5 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/0.5157, allocations: 3.25 kB / 0.5 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.5157, allocations: 7.188 kB / 0.5 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004062/0.5161, allocations: 97.67 kB / 0.5001 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.5162, allocations: 10.88 kB / 0.5001 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005846/0.5168, allocations: 79.92 kB / 0.5002 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.5168, allocations: 15.48 kB / 0.5002 GB, free: 5.785 MB / 382.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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004069/0.5172, allocations: 259.4 kB / 0.5004 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.5174, allocations: 64.28 kB / 0.5005 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.352e-05/0.5175, allocations: 49.33 kB / 0.5005 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.5175, allocations: 2.703 kB / 0.5006 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.5175, allocations: 1.406 kB / 0.5006 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.5175, allocations: 1.797 kB / 0.5006 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.5185, allocations: 0.6962 MB / 0.5012 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.5186, allocations: 0 / 0.5012 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003268/0.5218, allocations: 0.664 MB / 0.5019 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/0.5219, allocations: 2.969 kB / 0.5019 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.5219, allocations: 2.828 kB / 0.5019 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005829/0.5277, allocations: 4.74 MB / 0.5065 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.5278, allocations: 1.375 kB / 0.5065 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.5289, allocations: 412.8 kB / 0.5069 GB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003504/0.5293, allocations: 150 kB / 0.5071 GB, free: 408 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.846e-05/0.5294, allocations: 2.75 kB / 0.5071 GB, free: 408 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006164/0.53, allocations: 87.61 kB / 0.5071 GB, free: 392 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.5302, allocations: 13.2 kB / 0.5072 GB, free: 392 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/0.5302, allocations: 12.41 kB / 0.5072 GB, free: 388 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005845/0.5308, allocations: 409.8 kB / 0.5076 GB, free: 204 kB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5308, allocations: 0 / 0.5076 GB, free: 204 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001368/0.5322, allocations: 305 kB / 0.5078 GB, free: 152 kB / 382.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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004613/0.5327, allocations: 185.5 kB / 0.508 GB, free: 32 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00583/0.5385, allocations: 1.165 MB / 0.5092 GB, free: 15.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/0.5386, allocations: 5.375 kB / 0.5092 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006967/0.5456, allocations: 1.244 MB / 0.5104 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002339/0.5479, allocations: 305.4 kB / 0.5107 GB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003922/0.5519, allocations: 1.554 MB / 0.5122 GB, free: 15.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005526/0.5524, allocations: 0.8865 MB / 0.5131 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005527/0.553, allocations: 103.2 kB / 0.5132 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.354e-05/0.5531, allocations: 40.86 kB / 0.5132 GB, free: 14.27 MB / 398.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5531, allocations: 0 / 0.5132 GB, free: 14.27 MB / 398.1 MB Notification: Performance of Templates: time 0.02117/0.5743, allocations: 10.3 MB / 0.5233 GB, free: 7.77 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: