Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008191/0.008191, allocations: 101.2 kB / 15.73 MB, free: 6.035 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.001604/0.001604, allocations: 190.2 kB / 16.67 MB, free: 5.973 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.549/1.549, allocations: 205.1 MB / 222.5 MB, free: 4.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4051/0.4051, allocations: 54.95 MB / 324.8 MB, free: 32 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.001482/0.001482, allocations: 74.36 kB / 456.3 MB, free: 38.37 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1369, allocations: 59.6 MB / 0.5038 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01684/0.1538, allocations: 19.06 MB / 0.5224 GB, free: 7.773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01134/0.1652, allocations: 7.136 MB / 0.5294 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000739/0.166, allocations: 27.81 kB / 0.5294 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008626/0.1669, allocations: 298 kB / 0.5297 GB, free: 304 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001742/0.1687, allocations: 0.7025 MB / 0.5304 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001779/0.1704, allocations: 0.7113 MB / 0.5311 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001589/0.172, allocations: 1.41 MB / 0.5325 GB, free: 13.47 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005846/0.1726, allocations: 457.3 kB / 0.5329 GB, free: 13.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009527/0.1736, allocations: 0.6149 MB / 0.5335 GB, free: 12.4 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005567/0.1742, allocations: 0.4901 MB / 0.534 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.346e-05/0.1743, allocations: 48 kB / 0.534 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000871/0.1751, allocations: 0.5187 MB / 0.5345 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.1753, allocations: 139.4 kB / 0.5347 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003079/0.1756, allocations: 334.3 kB / 0.535 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.1766, allocations: 0.8955 MB / 0.5358 GB, free: 9.977 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1767, allocations: 0 / 0.5358 GB, free: 9.977 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1767, allocations: 0 / 0.5358 GB, free: 9.977 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.1767, allocations: 0 / 0.5358 GB, free: 9.977 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001546/0.1782, allocations: 0.9695 MB / 0.5368 GB, free: 8.957 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.1783, allocations: 8.031 kB / 0.5368 GB, free: 8.949 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002449/0.1807, allocations: 363.7 kB / 0.5371 GB, free: 8.594 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007744/0.1815, allocations: 0.4908 MB / 0.5376 GB, free: 8.062 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.257e-05/0.1816, allocations: 33 kB / 0.5377 GB, free: 8.027 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-05/0.1816, allocations: 40 kB / 0.5377 GB, free: 7.988 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006703/0.1883, allocations: 1.583 MB / 0.5392 GB, free: 6.359 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.1884, allocations: 7.938 kB / 0.5393 GB, free: 6.352 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.515e-05/0.1885, allocations: 20 kB / 0.5393 GB, free: 6.332 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.68e-05/0.1885, allocations: 12 kB / 0.5393 GB, free: 6.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007074/0.1956, allocations: 1.528 MB / 0.5408 GB, free: 4.789 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003734/0.1993, allocations: 2.776 MB / 0.5435 GB, free: 1.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00616/0.2055, allocations: 1.279 MB / 0.5447 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000798/0.2063, allocations: 254.4 kB / 0.545 GB, free: 284 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002651/0.2066, allocations: 117.1 kB / 0.5451 GB, free: 148 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.575e-05/0.2067, allocations: 42.52 kB / 0.5451 GB, free: 96 kB / 414.1 MB Notification: Performance of pre-optimization done (n=21): time 3.737e-06/0.2067, allocations: 3.984 kB / 0.5451 GB, free: 92 kB / 414.1 MB Notification: Performance of matching and sorting (n=21): time 0.01316/0.2198, allocations: 2.58 MB / 0.5477 GB, free: 13.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/0.22, allocations: 162.1 kB / 0.5478 GB, free: 13.31 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006362/0.2207, allocations: 0.5342 MB / 0.5483 GB, free: 12.76 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.978e-05/0.2207, allocations: 33.7 kB / 0.5484 GB, free: 12.72 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.221, allocations: 307.8 kB / 0.5487 GB, free: 12.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.998e-05/0.2211, allocations: 74.91 kB / 0.5487 GB, free: 12.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.2213, allocations: 102.1 kB / 0.5488 GB, free: 12.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.2215, allocations: 366.7 kB / 0.5492 GB, free: 11.87 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002144/0.2236, allocations: 0.5802 MB / 0.5497 GB, free: 11.28 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002213/0.2259, allocations: 0.6717 MB / 0.5504 GB, free: 10.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00408/0.2299, allocations: 1.147 MB / 0.5515 GB, free: 9.383 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.23, allocations: 4 kB / 0.5515 GB, free: 9.379 MB / 430.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00468/0.2347, allocations: 1.312 MB / 0.5528 GB, free: 8.059 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.2347, allocations: 7.984 kB / 0.5528 GB, free: 8.051 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.2347, allocations: 4 kB / 0.5528 GB, free: 8.047 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.2347, allocations: 4 kB / 0.5528 GB, free: 8.043 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01172/0.2465, allocations: 1.607 MB / 0.5544 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01379/0.2603, allocations: 3.621 MB / 0.5579 GB, free: 2.676 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/0.262, allocations: 227.3 kB / 0.5581 GB, free: 2.453 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.475e-05/0.2621, allocations: 27.97 kB / 0.5582 GB, free: 2.426 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00069/0.2628, allocations: 284.9 kB / 0.5584 GB, free: 2.141 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000502/0.2633, allocations: 261.6 kB / 0.5587 GB, free: 1.844 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008592/0.2642, allocations: 392.6 kB / 0.5591 GB, free: 1.422 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.964e-06/0.2642, allocations: 0 / 0.5591 GB, free: 1.422 MB / 430.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.00114/0.2653, allocations: 494.2 kB / 0.5595 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.2654, allocations: 8 kB / 0.5595 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.2654, allocations: 4 kB / 0.5595 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.2654, allocations: 7.938 kB / 0.5595 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000494/0.2659, allocations: 120.1 kB / 0.5597 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.2659, allocations: 8 kB / 0.5597 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004485/0.2664, allocations: 59.64 kB / 0.5597 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.2664, allocations: 12 kB / 0.5597 GB, free: 0.7188 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002519/0.2667, allocations: 212.1 kB / 0.5599 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/0.2668, allocations: 55.34 kB / 0.56 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001798/0.267, allocations: 64.95 kB / 0.5601 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.267, allocations: 4 kB / 0.5601 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.267, allocations: 0 / 0.5601 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2671, allocations: 0 / 0.5601 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.2682, allocations: 0.8862 MB / 0.5609 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2682, allocations: 0 / 0.5609 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01056/0.2787, allocations: 1.467 MB / 0.5624 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/0.2788, allocations: 7.938 kB / 0.5624 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.692e-05/0.2788, allocations: 11.97 kB / 0.5624 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01294/0.2918, allocations: 3.512 MB / 0.5658 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.2919, allocations: 0 / 0.5658 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004667/0.2965, allocations: 1.234 MB / 0.567 GB, free: 9.035 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002124/0.2968, allocations: 128.4 kB / 0.5671 GB, free: 8.891 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001869/0.297, allocations: 8 kB / 0.5671 GB, free: 8.883 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001522/0.2985, allocations: 199.8 kB / 0.5673 GB, free: 8.688 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.604e-05/0.2986, allocations: 23.91 kB / 0.5674 GB, free: 8.664 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.156e-05/0.2987, allocations: 15.97 kB / 0.5674 GB, free: 8.648 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004884/0.2992, allocations: 366.8 kB / 0.5677 GB, free: 8.293 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.2992, allocations: 4 kB / 0.5677 GB, free: 8.289 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001247/0.3005, allocations: 327.5 kB / 0.568 GB, free: 7.969 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005128/0.301, allocations: 168.2 kB / 0.5682 GB, free: 7.805 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01588/0.3169, allocations: 2.815 MB / 0.5709 GB, free: 4.988 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/0.3169, allocations: 4 kB / 0.5709 GB, free: 4.984 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01193/0.3289, allocations: 1.869 MB / 0.5728 GB, free: 3.113 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/0.3305, allocations: 246.7 kB / 0.573 GB, free: 2.871 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01655/0.3471, allocations: 3.235 MB / 0.5762 GB, free: 15.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/0.3476, allocations: 0.8669 MB / 0.577 GB, free: 14.71 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007645/0.3484, allocations: 132.5 kB / 0.5771 GB, free: 14.58 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003831/0.3488, allocations: 67.36 kB / 0.5772 GB, free: 14.51 MB / 462.1 MB Notification: Performance of SimCode: time 2.896e-06/0.3488, allocations: 0 / 0.5772 GB, free: 14.51 MB / 462.1 MB Notification: Performance of Templates: time 0.02491/0.3737, allocations: 14.82 MB / 0.5917 GB, free: 15.73 MB / 478.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)