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.001158/0.001157, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001475/0.001475, allocations: 197 kB / 16.14 MB, free: 6.703 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.696/1.696, allocations: 205.1 MB / 222 MB, free: 5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4323/0.4323, allocations: 54.92 MB / 324.3 MB, free: 16 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.001308/0.001308, allocations: 63.91 kB / 394.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1357, allocations: 59.6 MB / 454.3 MB, free: 0.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization): time 0.2541/0.3898, allocations: 25.17 MB / 479.5 MB, free: 24.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0117/0.4015, allocations: 10.3 MB / 489.8 MB, free: 17.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001318/0.4029, allocations: 20.94 kB / 489.8 MB, free: 17.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.4042, allocations: 288.9 kB / 490.1 MB, free: 17.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002342/0.4066, allocations: 0.7438 MB / 490.8 MB, free: 16.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00188/0.4085, allocations: 0.7028 MB / 491.5 MB, free: 16.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002569/0.411, allocations: 2.35 MB / 493.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007278/0.4118, allocations: 0.4965 MB / 494.4 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001419/0.4132, allocations: 0.7492 MB / 495.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006815/0.4139, allocations: 0.5633 MB / 495.7 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.622e-05/0.414, allocations: 33.66 kB / 495.7 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008869/0.4149, allocations: 480.7 kB / 496.2 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.4151, allocations: 137.9 kB / 496.3 MB, free: 14.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003587/0.4154, allocations: 366.3 kB / 496.7 MB, free: 14.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008765/0.4163, allocations: 0.9346 MB / 497.6 MB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4163, allocations: 0 / 497.6 MB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.4163, allocations: 4.656 kB / 497.6 MB, free: 13.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.4163, allocations: 1.188 kB / 497.6 MB, free: 13.85 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.001402/0.4178, allocations: 1.032 MB / 498.6 MB, free: 13.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.4178, allocations: 16.12 kB / 498.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002802/0.4181, allocations: 87.44 kB / 498.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005487/0.4186, allocations: 0.4922 MB / 499.2 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.02e-05/0.4187, allocations: 91.94 kB / 499.3 MB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.37e-05/0.4188, allocations: 51.81 kB / 499.4 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.4203, allocations: 0.6271 MB / 0.4883 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.4204, allocations: 4.812 kB / 0.4883 GB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.874e-05/0.4204, allocations: 26.11 kB / 0.4883 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.104e-05/0.4205, allocations: 15.23 kB / 0.4883 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.4216, allocations: 405.1 kB / 0.4887 GB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002857/0.4245, allocations: 2.811 MB / 0.4915 GB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008772/0.4254, allocations: 234.8 kB / 0.4917 GB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.4256, allocations: 79.44 kB / 0.4918 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.4256, allocations: 2.875 kB / 0.4918 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.4256, allocations: 42.48 kB / 0.4918 GB, free: 9.691 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 3.056e-06/0.4257, allocations: 4.844 kB / 0.4918 GB, free: 9.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.001953/0.4276, allocations: 437.3 kB / 0.4922 GB, free: 9.566 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.4277, allocations: 157 kB / 0.4924 GB, free: 9.379 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007136/0.4284, allocations: 0.598 MB / 0.493 GB, free: 9.109 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.4284, allocations: 32.17 kB / 0.493 GB, free: 9.074 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.4286, allocations: 350.5 kB / 0.4933 GB, free: 8.793 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.781e-05/0.4287, allocations: 51.86 kB / 0.4934 GB, free: 8.754 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.4288, allocations: 80.83 kB / 0.4934 GB, free: 8.711 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.569e-05/0.4289, allocations: 375.3 kB / 0.4938 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003539/0.4293, allocations: 133 kB / 0.4939 GB, free: 8.328 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004068/0.4297, allocations: 274 kB / 0.4942 GB, free: 8.121 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006467/0.4304, allocations: 340.4 kB / 0.4945 GB, free: 7.918 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.4304, allocations: 1.031 kB / 0.4945 GB, free: 7.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001038/0.4314, allocations: 459.6 kB / 0.495 GB, free: 7.742 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.4314, allocations: 7.656 kB / 0.495 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.4315, allocations: 2.375 kB / 0.495 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.4315, allocations: 6.594 kB / 0.495 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004425/0.4359, allocations: 0.5656 MB / 0.4955 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006698/0.4426, allocations: 4.61 MB / 0.5 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.4437, allocations: 89.83 kB / 0.5001 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.4438, allocations: 17.98 kB / 0.5001 GB, free: 3.516 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004393/0.4442, allocations: 236.4 kB / 0.5004 GB, free: 3.371 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002658/0.4445, allocations: 224.3 kB / 0.5006 GB, free: 3.176 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003883/0.4449, allocations: 285.3 kB / 0.5008 GB, free: 2.973 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.785e-06/0.4449, allocations: 1.812 kB / 0.5008 GB, free: 2.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0006836/0.4456, allocations: 379.9 kB / 0.5012 GB, free: 2.812 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.4456, allocations: 5.938 kB / 0.5012 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.4456, allocations: 5.891 kB / 0.5012 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.344e-06/0.4456, allocations: 9.219 kB / 0.5012 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004/0.446, allocations: 95.59 kB / 0.5013 GB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.446, allocations: 12.02 kB / 0.5013 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005339/0.4466, allocations: 64.73 kB / 0.5014 GB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.4466, allocations: 18.34 kB / 0.5014 GB, free: 2.77 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 (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.0001794/0.4468, allocations: 201.2 kB / 0.5016 GB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.4469, allocations: 59.12 kB / 0.5017 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.4471, allocations: 54.62 kB / 0.5017 GB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.4471, allocations: 1.75 kB / 0.5017 GB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.4471, allocations: 2.516 kB / 0.5017 GB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4471, allocations: 0.5156 kB / 0.5017 GB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009524/0.4481, allocations: 0.7045 MB / 0.5024 GB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.4481, allocations: 1.984 kB / 0.5024 GB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003444/0.4515, allocations: 496.8 kB / 0.5029 GB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.4516, allocations: 1.375 kB / 0.5029 GB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/0.4516, allocations: 1.375 kB / 0.5029 GB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005738/0.4573, allocations: 4.515 MB / 0.5073 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.4574, allocations: 1.922 kB / 0.5073 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008827/0.4583, allocations: 382.3 kB / 0.5077 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002054/0.4585, allocations: 124.7 kB / 0.5078 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.739e-05/0.4586, allocations: 7.609 kB / 0.5078 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005895/0.4592, allocations: 72.16 kB / 0.5079 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.836e-05/0.4592, allocations: 17.31 kB / 0.5079 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/0.4593, allocations: 10.7 kB / 0.5079 GB, free: 13.44 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005354/0.4598, allocations: 418.8 kB / 0.5083 GB, free: 13.26 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4598, allocations: 0 / 0.5083 GB, free: 13.26 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001076/0.4609, allocations: 302.5 kB / 0.5086 GB, free: 13.21 MB / 398.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.000446/0.4614, allocations: 185.5 kB / 0.5087 GB, free: 13.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005449/0.4668, allocations: 0.9345 MB / 0.5097 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/0.4669, allocations: 9.156 kB / 0.5097 GB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006998/0.4739, allocations: 0.9922 MB / 0.5106 GB, free: 12.9 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/0.476, allocations: 315.1 kB / 0.5109 GB, free: 12.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003516/0.4795, allocations: 1.454 MB / 0.5124 GB, free: 12.08 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005184/0.4801, allocations: 0.8874 MB / 0.5132 GB, free: 11.37 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006317/0.4807, allocations: 105.3 kB / 0.5133 GB, free: 11.35 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.4808, allocations: 47.47 kB / 0.5134 GB, free: 11.33 MB / 398.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4808, allocations: 0 / 0.5134 GB, free: 11.33 MB / 398.1 MB Notification: Performance of Templates: time 0.02397/0.5048, allocations: 10.7 MB / 0.5238 GB, free: 4.84 MB / 398.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)