Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007136/0.007136, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.592/1.592, allocations: 205.4 MB / 222.5 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4532/0.4532, allocations: 55.02 MB / 325.8 MB, free: 0.582 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.0005507/0.0005508, allocations: 16 kB / 397.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3696, allocations: 60.71 MB / 458 MB, free: 38.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.01944/0.3891, allocations: 21.89 MB / 479.9 MB, free: 26.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01277/0.4019, allocations: 8.744 MB / 488.6 MB, free: 20.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001636/0.4036, allocations: 27.56 kB / 488.6 MB, free: 20.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.4048, allocations: 284.2 kB / 488.9 MB, free: 20.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003016/0.4079, allocations: 0.8334 MB / 489.8 MB, free: 19.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002272/0.4102, allocations: 0.7196 MB / 490.5 MB, free: 19.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003252/0.4134, allocations: 2.314 MB / 492.8 MB, free: 18.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/0.4145, allocations: 463.4 kB / 493.2 MB, free: 18.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001619/0.4161, allocations: 0.6671 MB / 493.9 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.4173, allocations: 0.5621 MB / 494.5 MB, free: 17.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002621/0.4176, allocations: 35.66 kB / 494.5 MB, free: 17.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002007/0.4196, allocations: 0.6908 MB / 495.2 MB, free: 17.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002903/0.4199, allocations: 136.8 kB / 495.3 MB, free: 17.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008411/0.4208, allocations: 386 kB / 495.7 MB, free: 17.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002061/0.4228, allocations: 1.043 MB / 496.7 MB, free: 17.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4228, allocations: 3.938 kB / 496.7 MB, free: 17.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4228, allocations: 1.125 kB / 496.8 MB, free: 17.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.551e-05/0.4229, allocations: 0.9375 kB / 496.8 MB, free: 17.04 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.002452/0.4254, allocations: 0.9494 MB / 497.7 MB, free: 16.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/0.4254, allocations: 9.375 kB / 497.7 MB, free: 16.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/0.4268, allocations: 209.2 kB / 497.9 MB, free: 16.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.4279, allocations: 0.5121 MB / 498.4 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.39e-05/0.4279, allocations: 38.12 kB / 498.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.4281, allocations: 45.38 kB / 498.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004266/0.4323, allocations: 1.142 MB / 499.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.4324, allocations: 1.25 kB / 499.7 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.899e-05/0.4324, allocations: 19.78 kB / 499.7 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.991e-05/0.4325, allocations: 19.02 kB / 499.7 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004021/0.4365, allocations: 0.9808 MB / 0.4889 GB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00413/0.4406, allocations: 2.648 MB / 0.4915 GB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003808/0.4445, allocations: 0.8131 MB / 0.4923 GB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003867/0.4449, allocations: 123.2 kB / 0.4924 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002766/0.4452, allocations: 121.3 kB / 0.4925 GB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.4452, allocations: 41.61 kB / 0.4926 GB, free: 12.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 2.495e-06/0.4452, allocations: 3.938 kB / 0.4926 GB, free: 12.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.007988/0.4532, allocations: 1.496 MB / 0.4941 GB, free: 12.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.4534, allocations: 161.7 kB / 0.4942 GB, free: 12.56 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001684/0.4551, allocations: 0.672 MB / 0.4949 GB, free: 12.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001502/0.4552, allocations: 32.17 kB / 0.4949 GB, free: 12.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004056/0.4556, allocations: 365.3 kB / 0.4952 GB, free: 11.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.4558, allocations: 67.7 kB / 0.4953 GB, free: 11.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.4559, allocations: 42.73 kB / 0.4953 GB, free: 11.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.4561, allocations: 379.5 kB / 0.4957 GB, free: 11.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/0.4574, allocations: 363.7 kB / 0.4961 GB, free: 11.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/0.4588, allocations: 0.4939 MB / 0.4965 GB, free: 11.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002623/0.4614, allocations: 0.7614 MB / 0.4973 GB, free: 10.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.4614, allocations: 1.375 kB / 0.4973 GB, free: 10.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.003259/0.4647, allocations: 0.9072 MB / 0.4982 GB, free: 10.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001253/0.4649, allocations: 178.2 kB / 0.4983 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.4649, allocations: 3.219 kB / 0.4983 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.176e-05/0.4649, allocations: 5.25 kB / 0.4983 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004939/0.4699, allocations: 0.8467 MB / 0.4992 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006996/0.4769, allocations: 4.864 MB / 0.5039 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/0.4785, allocations: 187 kB / 0.5041 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.4786, allocations: 21.7 kB / 0.5041 GB, free: 6.164 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.4787, allocations: 7.344 kB / 0.5041 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009093/0.4796, allocations: 361.8 kB / 0.5045 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.4796, allocations: 6.938 kB / 0.5045 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.826e-06/0.4796, allocations: 5.406 kB / 0.5045 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004841/0.4801, allocations: 115.5 kB / 0.5046 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.4801, allocations: 6.984 kB / 0.5046 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008338/0.481, allocations: 84.08 kB / 0.5047 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-05/0.481, allocations: 16.09 kB / 0.5047 GB, free: 5.988 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (50): * Single equations (assignments): 47 * 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.000473/0.4815, allocations: 271.2 kB / 0.505 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003175/0.4818, allocations: 74.75 kB / 0.505 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002934/0.4848, allocations: 0.6984 MB / 0.5057 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.4848, allocations: 2.375 kB / 0.5057 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4848, allocations: 1.094 kB / 0.5057 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.4848, allocations: 2.375 kB / 0.5057 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001885/0.4867, allocations: 0.7539 MB / 0.5065 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.4867, allocations: 2.172 kB / 0.5065 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004352/0.4911, allocations: 0.7431 MB / 0.5072 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.307e-05/0.4911, allocations: 3.109 kB / 0.5072 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.441e-05/0.4912, allocations: 10.55 kB / 0.5072 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006351/0.4975, allocations: 4.758 MB / 0.5118 GB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.4976, allocations: 1.188 kB / 0.5118 GB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002764/0.5003, allocations: 0.7946 MB / 0.5126 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003986/0.5008, allocations: 149.5 kB / 0.5128 GB, free: 372 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002366/0.501, allocations: 6.031 kB / 0.5128 GB, free: 368 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/0.5023, allocations: 143.4 kB / 0.5129 GB, free: 356 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.5024, allocations: 18.3 kB / 0.5129 GB, free: 352 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.987e-05/0.5025, allocations: 9.969 kB / 0.5129 GB, free: 352 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001029/0.5035, allocations: 469.3 kB / 0.5134 GB, free: 148 kB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5035, allocations: 0 / 0.5134 GB, free: 148 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001883/0.5054, allocations: 346.1 kB / 0.5137 GB, free: 96 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 (17): * Single equations (assignments): 14 * 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.0006068/0.506, allocations: 210.4 kB / 0.5139 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007702/0.5137, allocations: 1.604 MB / 0.5155 GB, free: 15.62 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.5138, allocations: 0 / 0.5155 GB, free: 15.62 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00823/0.522, allocations: 1.449 MB / 0.5169 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003271/0.5253, allocations: 370.8 kB / 0.5172 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01385/0.5392, allocations: 3.188 MB / 0.5204 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006297/0.5399, allocations: 0.9059 MB / 0.5212 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009771/0.5409, allocations: 133.6 kB / 0.5214 GB, free: 9.988 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002889/0.5412, allocations: 59.41 kB / 0.5214 GB, free: 9.93 MB / 398.1 MB Notification: Performance of SimCode: time 1.222e-06/0.5412, allocations: 0 / 0.5214 GB, free: 9.93 MB / 398.1 MB Notification: Performance of Templates: time 0.02935/0.5706, allocations: 14.53 MB / 0.5356 GB, free: 11.53 MB / 414.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1) Environment - environmentSimulation: