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.007187/0.007188, allocations: 101.7 kB / 15.73 MB, free: 6.031 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.001376/0.001376, allocations: 186.6 kB / 16.67 MB, free: 5.965 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.573/1.573, allocations: 205.1 MB / 222.6 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.407/0.407, allocations: 54.95 MB / 324.9 MB, free: 15.93 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.001391/0.001391, allocations: 66.09 kB / 456.2 MB, free: 38.18 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1244, allocations: 59.59 MB / 0.5037 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.02158/0.146, allocations: 22.63 MB / 0.5258 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01215/0.1582, allocations: 8.387 MB / 0.534 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.1593, allocations: 27.75 kB / 0.534 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009921/0.1604, allocations: 365.6 kB / 0.5344 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002449/0.1628, allocations: 0.9737 MB / 0.5353 GB, free: 10.53 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001946/0.1648, allocations: 0.7928 MB / 0.5361 GB, free: 9.742 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002182/0.167, allocations: 1.726 MB / 0.5378 GB, free: 8.008 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.168, allocations: 0.5413 MB / 0.5383 GB, free: 7.453 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001642/0.1696, allocations: 0.755 MB / 0.5391 GB, free: 6.695 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.1707, allocations: 0.5601 MB / 0.5396 GB, free: 6.133 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001532/0.1709, allocations: 56 kB / 0.5397 GB, free: 6.078 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001422/0.1723, allocations: 0.7256 MB / 0.5404 GB, free: 5.352 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002512/0.1726, allocations: 167.4 kB / 0.5405 GB, free: 5.188 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006585/0.1732, allocations: 401.9 kB / 0.5409 GB, free: 4.793 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001745/0.175, allocations: 1.09 MB / 0.542 GB, free: 3.699 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.175, allocations: 0 / 0.542 GB, free: 3.699 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.175, allocations: 0 / 0.542 GB, free: 3.699 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.409e-05/0.1751, allocations: 3.938 kB / 0.542 GB, free: 3.695 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.00203/0.1771, allocations: 1.094 MB / 0.543 GB, free: 2.551 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.1771, allocations: 11.97 kB / 0.5431 GB, free: 2.539 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.1782, allocations: 187.6 kB / 0.5432 GB, free: 2.355 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009266/0.1792, allocations: 0.541 MB / 0.5438 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/0.1792, allocations: 37 kB / 0.5438 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.768e-05/0.1793, allocations: 48 kB / 0.5438 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00383/0.1831, allocations: 1.032 MB / 0.5448 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.1832, allocations: 7.938 kB / 0.5449 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.197e-05/0.1832, allocations: 16 kB / 0.5449 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.501e-05/0.1833, allocations: 15.94 kB / 0.5449 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003721/0.187, allocations: 0.8764 MB / 0.5457 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003636/0.1906, allocations: 2.63 MB / 0.5483 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003347/0.194, allocations: 0.7022 MB / 0.549 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003426/0.1943, allocations: 106.5 kB / 0.5491 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002703/0.1946, allocations: 117 kB / 0.5492 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.1947, allocations: 42.55 kB / 0.5492 GB, free: 11.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.1947, allocations: 0 / 0.5492 GB, free: 11.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.006556/0.2012, allocations: 1.262 MB / 0.5505 GB, free: 10.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.2014, allocations: 162.2 kB / 0.5506 GB, free: 10.42 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009602/0.2023, allocations: 0.6801 MB / 0.5513 GB, free: 9.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.2025, allocations: 33.7 kB / 0.5513 GB, free: 9.691 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003307/0.2028, allocations: 359.9 kB / 0.5517 GB, free: 9.336 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.367e-05/0.2029, allocations: 63.17 kB / 0.5517 GB, free: 9.273 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002071/0.2031, allocations: 102 kB / 0.5518 GB, free: 9.168 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.2033, allocations: 378.7 kB / 0.5522 GB, free: 8.789 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/0.2044, allocations: 326.3 kB / 0.5525 GB, free: 8.469 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/0.2056, allocations: 456.4 kB / 0.5529 GB, free: 7.961 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002098/0.2077, allocations: 0.6712 MB / 0.5536 GB, free: 7.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.2078, allocations: 0 / 0.5536 GB, free: 7.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002525/0.2103, allocations: 0.8165 MB / 0.5544 GB, free: 6.426 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.2103, allocations: 8 kB / 0.5544 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.2103, allocations: 3.938 kB / 0.5544 GB, free: 6.414 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.2104, allocations: 8 kB / 0.5544 GB, free: 6.406 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004318/0.2147, allocations: 0.6398 MB / 0.555 GB, free: 5.766 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007175/0.2219, allocations: 4.956 MB / 0.5599 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.223, allocations: 155.2 kB / 0.56 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-05/0.2231, allocations: 19.98 kB / 0.56 GB, free: 232 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005486/0.2237, allocations: 253 kB / 0.5603 GB, free: 15.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003871/0.2241, allocations: 276.3 kB / 0.5605 GB, free: 15.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005641/0.2246, allocations: 328.1 kB / 0.5609 GB, free: 15.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.849e-06/0.2246, allocations: 4 kB / 0.5609 GB, free: 15.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=50) (initialization_lambda0): time 0.0008883/0.2255, allocations: 441.9 kB / 0.5613 GB, free: 14.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.2256, allocations: 8 kB / 0.5613 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2256, allocations: 7.938 kB / 0.5613 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.965e-06/0.2256, allocations: 7.938 kB / 0.5613 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004357/0.226, allocations: 120.3 kB / 0.5614 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.226, allocations: 4 kB / 0.5614 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005516/0.2266, allocations: 55.8 kB / 0.5615 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.319e-05/0.2267, allocations: 16 kB / 0.5615 GB, free: 14.61 MB / 446.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.0002143/0.2269, allocations: 204.1 kB / 0.5617 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002026/0.2271, allocations: 67.16 kB / 0.5618 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002165/0.2293, allocations: 0.6122 MB / 0.5624 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.2293, allocations: 4 kB / 0.5624 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.2293, allocations: 0 / 0.5624 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.2293, allocations: 3.984 kB / 0.5624 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.2304, allocations: 0.7488 MB / 0.5631 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.2304, allocations: 4 kB / 0.5631 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003591/0.234, allocations: 0.5539 MB / 0.5636 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.234, allocations: 0 / 0.5636 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-05/0.2341, allocations: 7.984 kB / 0.5636 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006567/0.2407, allocations: 4.865 MB / 0.5684 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.2407, allocations: 0 / 0.5684 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002195/0.2429, allocations: 0.7013 MB / 0.5691 GB, free: 6.328 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002568/0.2432, allocations: 140.3 kB / 0.5692 GB, free: 6.172 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/0.2433, allocations: 12 kB / 0.5692 GB, free: 6.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009643/0.2443, allocations: 107.8 kB / 0.5693 GB, free: 6.055 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.875e-05/0.2444, allocations: 15.97 kB / 0.5693 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.813e-05/0.2444, allocations: 15.98 kB / 0.5694 GB, free: 6.023 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006658/0.2451, allocations: 463 kB / 0.5698 GB, free: 5.574 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.2451, allocations: 0 / 0.5698 GB, free: 5.574 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001309/0.2464, allocations: 343.4 kB / 0.5701 GB, free: 5.238 MB / 446.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.0005895/0.247, allocations: 204.1 kB / 0.5703 GB, free: 5.031 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006334/0.2534, allocations: 1.326 MB / 0.5716 GB, free: 3.707 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2534, allocations: 1.125 kB / 0.5716 GB, free: 3.707 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007032/0.2604, allocations: 1.155 MB / 0.5727 GB, free: 2.551 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001987/0.2625, allocations: 334.9 kB / 0.5731 GB, free: 2.234 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/0.2742, allocations: 2.586 MB / 0.5756 GB, free: 15.61 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000502/0.2747, allocations: 0.8981 MB / 0.5765 GB, free: 14.68 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006453/0.2754, allocations: 129.1 kB / 0.5766 GB, free: 14.55 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/0.2756, allocations: 63.39 kB / 0.5767 GB, free: 14.49 MB / 462.1 MB Notification: Performance of SimCode: time 5.92e-07/0.2756, allocations: 0 / 0.5767 GB, free: 14.49 MB / 462.1 MB Notification: Performance of Templates: time 0.02615/0.3018, allocations: 14.95 MB / 0.5913 GB, free: 15.62 MB / 478.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (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)