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.00673/0.006731, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001146/0.001146, allocations: 198.4 kB / 16.68 MB, free: 5.926 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.622/1.622, allocations: 205.1 MB / 222.5 MB, free: 4.477 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4707/0.4707, allocations: 54.94 MB / 324.8 MB, free: 48 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.001874/0.001874, allocations: 68.97 kB / 456.3 MB, free: 38.34 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1525, allocations: 59.59 MB / 0.5038 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.02335/0.1759, allocations: 22.62 MB / 0.5259 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01599/0.192, allocations: 8.392 MB / 0.5341 GB, free: 11.82 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001683/0.1937, allocations: 31.75 kB / 0.5341 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001351/0.1951, allocations: 353.6 kB / 0.5344 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003205/0.1984, allocations: 0.9441 MB / 0.5353 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002476/0.2008, allocations: 0.7914 MB / 0.5361 GB, free: 9.715 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002685/0.2035, allocations: 1.722 MB / 0.5378 GB, free: 7.984 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008387/0.2044, allocations: 0.5452 MB / 0.5383 GB, free: 7.426 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001538/0.2059, allocations: 0.7394 MB / 0.5391 GB, free: 6.684 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009381/0.2069, allocations: 0.5679 MB / 0.5396 GB, free: 6.113 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.494e-05/0.207, allocations: 60 kB / 0.5397 GB, free: 6.055 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001605/0.2086, allocations: 0.7333 MB / 0.5404 GB, free: 5.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000187/0.2088, allocations: 159.4 kB / 0.5405 GB, free: 5.164 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004762/0.2093, allocations: 401.9 kB / 0.5409 GB, free: 4.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001551/0.2108, allocations: 1.09 MB / 0.542 GB, free: 3.676 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.2109, allocations: 0 / 0.542 GB, free: 3.676 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2109, allocations: 0 / 0.542 GB, free: 3.676 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.654e-05/0.2109, allocations: 0 / 0.542 GB, free: 3.676 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.001754/0.2127, allocations: 1.098 MB / 0.5431 GB, free: 2.527 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.2127, allocations: 8.031 kB / 0.5431 GB, free: 2.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.2138, allocations: 183.6 kB / 0.5432 GB, free: 2.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000975/0.2148, allocations: 0.5371 MB / 0.5438 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.864e-05/0.2149, allocations: 41 kB / 0.5438 GB, free: 1.719 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.215, allocations: 48 kB / 0.5438 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003837/0.2188, allocations: 1.037 MB / 0.5449 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.2189, allocations: 0 / 0.5449 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.191e-05/0.2189, allocations: 16 kB / 0.5449 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.63e-05/0.219, allocations: 12 kB / 0.5449 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003675/0.2227, allocations: 0.8765 MB / 0.5457 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00401/0.2267, allocations: 2.638 MB / 0.5483 GB, free: 12.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003529/0.2302, allocations: 0.7022 MB / 0.549 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003156/0.2306, allocations: 106.5 kB / 0.5491 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002824/0.2309, allocations: 113.1 kB / 0.5492 GB, free: 11.92 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.2309, allocations: 42.55 kB / 0.5493 GB, free: 11.87 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 1.804e-06/0.2309, allocations: 0 / 0.5493 GB, free: 11.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.006532/0.2375, allocations: 1.266 MB / 0.5505 GB, free: 10.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.2376, allocations: 166.2 kB / 0.5506 GB, free: 10.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009398/0.2385, allocations: 0.6684 MB / 0.5513 GB, free: 9.719 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.296e-05/0.2386, allocations: 37.7 kB / 0.5513 GB, free: 9.676 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/0.2389, allocations: 359.9 kB / 0.5517 GB, free: 9.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.716e-05/0.239, allocations: 59.19 kB / 0.5517 GB, free: 9.262 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001872/0.2392, allocations: 102 kB / 0.5518 GB, free: 9.156 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.2394, allocations: 378.7 kB / 0.5522 GB, free: 8.777 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.2404, allocations: 326.3 kB / 0.5525 GB, free: 8.457 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/0.2415, allocations: 456.3 kB / 0.5529 GB, free: 7.949 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001985/0.2435, allocations: 0.6673 MB / 0.5536 GB, free: 7.242 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.2435, allocations: 4 kB / 0.5536 GB, free: 7.238 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002419/0.246, allocations: 0.8202 MB / 0.5544 GB, free: 6.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.246, allocations: 8 kB / 0.5544 GB, free: 6.402 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.246, allocations: 0 / 0.5544 GB, free: 6.402 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.246, allocations: 8 kB / 0.5544 GB, free: 6.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004607/0.2507, allocations: 0.64 MB / 0.555 GB, free: 5.754 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007773/0.2584, allocations: 4.96 MB / 0.5599 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.2597, allocations: 155.4 kB / 0.56 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.674e-05/0.2598, allocations: 23.92 kB / 0.5601 GB, free: 212 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004919/0.2603, allocations: 252.9 kB / 0.5603 GB, free: 15.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004485/0.2607, allocations: 276.2 kB / 0.5606 GB, free: 15.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006531/0.2614, allocations: 324.2 kB / 0.5609 GB, free: 15.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.5e-06/0.2614, allocations: 4 kB / 0.5609 GB, free: 15.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=50) (initialization_lambda0): time 0.0008014/0.2622, allocations: 445.9 kB / 0.5613 GB, free: 14.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.2623, allocations: 8 kB / 0.5613 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2623, allocations: 4.5 kB / 0.5613 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.284e-06/0.2623, allocations: 11.94 kB / 0.5613 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004512/0.2627, allocations: 115.8 kB / 0.5614 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.2628, allocations: 4 kB / 0.5614 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000475/0.2632, allocations: 55.8 kB / 0.5615 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.2633, allocations: 12 kB / 0.5615 GB, free: 14.6 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.0002754/0.2635, allocations: 212.1 kB / 0.5617 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.2637, allocations: 67.16 kB / 0.5618 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002157/0.2659, allocations: 0.6083 MB / 0.5624 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.2659, allocations: 4 kB / 0.5624 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.2659, allocations: 0 / 0.5624 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2659, allocations: 0 / 0.5624 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.267, allocations: 0.7489 MB / 0.5631 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.267, allocations: 4 kB / 0.5631 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003815/0.2709, allocations: 0.5578 MB / 0.5636 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.2709, allocations: 4 kB / 0.5636 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.472e-05/0.2709, allocations: 12.05 kB / 0.5637 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00622/0.2771, allocations: 4.857 MB / 0.5684 GB, free: 7.035 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2772, allocations: 0 / 0.5684 GB, free: 7.035 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002177/0.2793, allocations: 0.703 MB / 0.5691 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/0.2795, allocations: 140.3 kB / 0.5692 GB, free: 6.152 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.2796, allocations: 8 kB / 0.5692 GB, free: 6.145 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008553/0.2805, allocations: 99.81 kB / 0.5693 GB, free: 6.047 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.543e-05/0.2806, allocations: 27.89 kB / 0.5693 GB, free: 6.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/0.2806, allocations: 15.98 kB / 0.5694 GB, free: 6.004 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005838/0.2812, allocations: 459 kB / 0.5698 GB, free: 5.559 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2812, allocations: 0 / 0.5698 GB, free: 5.559 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001188/0.2824, allocations: 347.4 kB / 0.5701 GB, free: 5.219 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.0004604/0.2829, allocations: 208.8 kB / 0.5703 GB, free: 5.012 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006394/0.2893, allocations: 1.32 MB / 0.5716 GB, free: 3.691 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.2893, allocations: 4.125 kB / 0.5716 GB, free: 3.688 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007269/0.2966, allocations: 1.159 MB / 0.5728 GB, free: 2.527 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/0.2983, allocations: 324.2 kB / 0.5731 GB, free: 2.219 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01186/0.3102, allocations: 2.59 MB / 0.5756 GB, free: 15.59 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005176/0.3108, allocations: 0.8981 MB / 0.5765 GB, free: 14.66 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000657/0.3114, allocations: 129.2 kB / 0.5766 GB, free: 14.54 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002054/0.3117, allocations: 63.39 kB / 0.5767 GB, free: 14.47 MB / 462.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3117, allocations: 0 / 0.5767 GB, free: 14.47 MB / 462.1 MB Notification: Performance of Templates: time 0.02628/0.338, allocations: 15.31 MB / 0.5916 GB, free: 15.25 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)