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.001124/0.001124, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001268/0.001268, allocations: 168.7 kB / 15.95 MB, free: 204 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.762/1.762, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4709/0.4709, allocations: 55.01 MB / 325.4 MB, free: 0.7109 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.0006827/0.000683, allocations: 19.94 kB / 396.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4411/0.4418, allocations: 60.71 MB / 457.4 MB, free: 39.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.01895/0.4608, allocations: 20.74 MB / 478.1 MB, free: 27.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01229/0.4732, allocations: 7.999 MB / 486.1 MB, free: 22.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000927/0.4741, allocations: 29.41 kB / 486.1 MB, free: 22.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009334/0.4751, allocations: 253.6 kB / 486.4 MB, free: 22.16 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.002147/0.4772, allocations: 0.7444 MB / 487.1 MB, free: 21.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.4791, allocations: 0.6524 MB / 487.8 MB, free: 21.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002112/0.4812, allocations: 1.983 MB / 489.8 MB, free: 20.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006456/0.4819, allocations: 445.6 kB / 490.2 MB, free: 20.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.483, allocations: 0.6339 MB / 490.8 MB, free: 20.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006816/0.4837, allocations: 0.535 MB / 491.4 MB, free: 19.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.967e-05/0.4838, allocations: 28.84 kB / 491.4 MB, free: 19.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001431/0.4853, allocations: 0.6662 MB / 492.1 MB, free: 19.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.4854, allocations: 135.7 kB / 492.2 MB, free: 19.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.4856, allocations: 162.4 kB / 492.4 MB, free: 19.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008066/0.4864, allocations: 0.783 MB / 493.1 MB, free: 19.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4864, allocations: 4 kB / 493.1 MB, free: 19.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4864, allocations: 0 / 493.1 MB, free: 19.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.4865, allocations: 2.625 kB / 493.1 MB, free: 19.45 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.001457/0.4879, allocations: 0.9513 MB / 494.1 MB, free: 18.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.488, allocations: 13.19 kB / 494.1 MB, free: 18.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000977/0.489, allocations: 195.5 kB / 494.3 MB, free: 18.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007428/0.4897, allocations: 0.4885 MB / 494.8 MB, free: 18.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.293e-05/0.4898, allocations: 41.86 kB / 494.8 MB, free: 18.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.4899, allocations: 49.31 kB / 494.9 MB, free: 18.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003913/0.4938, allocations: 1.144 MB / 496 MB, free: 17.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.4939, allocations: 5.016 kB / 496 MB, free: 17.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.799e-05/0.4939, allocations: 17.47 kB / 496 MB, free: 17.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.668e-05/0.494, allocations: 12.94 kB / 496.1 MB, free: 17.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003556/0.4975, allocations: 0.9793 MB / 497 MB, free: 17.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003717/0.5013, allocations: 2.638 MB / 499.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003458/0.5047, allocations: 0.8237 MB / 0.4888 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003509/0.5051, allocations: 118 kB / 0.4889 GB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003066/0.5054, allocations: 121.5 kB / 0.489 GB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/0.5055, allocations: 37.72 kB / 0.489 GB, free: 15.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 3.377e-06/0.5055, allocations: 0 / 0.489 GB, free: 15.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.006802/0.5123, allocations: 1.498 MB / 0.4905 GB, free: 15.19 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.969e-05/0.5124, allocations: 162.7 kB / 0.4907 GB, free: 15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009328/0.5133, allocations: 0.6651 MB / 0.4913 GB, free: 14.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.59e-05/0.5134, allocations: 32.58 kB / 0.4913 GB, free: 14.67 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002556/0.5137, allocations: 369.4 kB / 0.4917 GB, free: 14.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.095e-05/0.5137, allocations: 55.41 kB / 0.4917 GB, free: 14.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.5138, allocations: 9.844 kB / 0.4917 GB, free: 14.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.5139, allocations: 379.8 kB / 0.4921 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.515, allocations: 357.7 kB / 0.4924 GB, free: 13.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/0.5162, allocations: 0.4895 MB / 0.4929 GB, free: 13.67 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.5173, allocations: 377.8 kB / 0.4933 GB, free: 13.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.5173, allocations: 2.25 kB / 0.4933 GB, free: 13.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002572/0.5199, allocations: 0.8995 MB / 0.4942 GB, free: 13.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.883e-05/0.52, allocations: 174.7 kB / 0.4943 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.52, allocations: 8.141 kB / 0.4943 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.52, allocations: 4.781 kB / 0.4943 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004537/0.5246, allocations: 0.8469 MB / 0.4952 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006237/0.5308, allocations: 4.853 MB / 0.4999 GB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/0.5324, allocations: 191.8 kB / 0.5001 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.231e-05/0.5325, allocations: 25.14 kB / 0.5001 GB, free: 8.812 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.5325, allocations: 3.938 kB / 0.5001 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008707/0.5333, allocations: 354.9 kB / 0.5005 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.5334, allocations: 2.5 kB / 0.5005 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.5334, allocations: 5.625 kB / 0.5005 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004669/0.5339, allocations: 120.8 kB / 0.5006 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.5339, allocations: 5.594 kB / 0.5006 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000581/0.5345, allocations: 90.11 kB / 0.5007 GB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/0.5345, allocations: 16.75 kB / 0.5007 GB, free: 8.641 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 (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.0004153/0.5349, allocations: 272.6 kB / 0.501 GB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001718/0.5351, allocations: 68.3 kB / 0.501 GB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002299/0.5374, allocations: 0.6932 MB / 0.5017 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.5374, allocations: 2.062 kB / 0.5017 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.5374, allocations: 1.844 kB / 0.5017 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.5374, allocations: 3.422 kB / 0.5017 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.5386, allocations: 0.7614 MB / 0.5024 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.5386, allocations: 6.328 kB / 0.5025 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00408/0.5427, allocations: 0.7447 MB / 0.5032 GB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.879e-06/0.5427, allocations: 2.125 kB / 0.5032 GB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.489e-05/0.5428, allocations: 10.69 kB / 0.5032 GB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005913/0.5487, allocations: 4.751 MB / 0.5078 GB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.5487, allocations: 0.9688 kB / 0.5078 GB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00258/0.5513, allocations: 0.7849 MB / 0.5086 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003869/0.5517, allocations: 144.8 kB / 0.5087 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.977e-05/0.5519, allocations: 3.828 kB / 0.5087 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000948/0.5528, allocations: 151.6 kB / 0.5089 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.5529, allocations: 26.12 kB / 0.5089 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-05/0.553, allocations: 10.09 kB / 0.5089 GB, free: 3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007713/0.5538, allocations: 458.1 kB / 0.5094 GB, free: 2.805 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5538, allocations: 0 / 0.5094 GB, free: 2.805 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002001/0.5558, allocations: 344.9 kB / 0.5097 GB, free: 2.754 MB / 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 (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.0005333/0.5563, allocations: 196.7 kB / 0.5099 GB, free: 2.637 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006729/0.5631, allocations: 1.607 MB / 0.5114 GB, free: 2.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.5631, allocations: 0.9688 kB / 0.5114 GB, free: 2.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006705/0.5698, allocations: 1.45 MB / 0.5129 GB, free: 1.762 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002135/0.572, allocations: 374.4 kB / 0.5132 GB, free: 1.586 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/0.5837, allocations: 3.129 MB / 0.5163 GB, free: 14.99 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005012/0.5843, allocations: 0.8981 MB / 0.5171 GB, free: 14.06 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009359/0.5852, allocations: 130.3 kB / 0.5173 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/0.5855, allocations: 63.39 kB / 0.5173 GB, free: 13.88 MB / 398.1 MB Notification: Performance of SimCode: time 2.655e-06/0.5855, allocations: 0 / 0.5173 GB, free: 13.88 MB / 398.1 MB Notification: Performance of Templates: time 0.02499/0.6105, allocations: 14.1 MB / 0.5311 GB, free: 15.93 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: