Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001358/0.001358, allocations: 197.7 kB / 16.14 MB, free: 6.703 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.588/1.588, allocations: 205.1 MB / 222 MB, free: 4.996 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4149/0.4149, allocations: 54.93 MB / 324.3 MB, free: 36 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.001645/0.001645, allocations: 63.91 kB / 394.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1799, allocations: 59.59 MB / 454.3 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.3772/0.5571, allocations: 77.99 MB / 0.5198 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03446/0.5917, allocations: 16.67 MB / 0.5361 GB, free: 6.82 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005359/0.5971, allocations: 72.97 kB / 0.5361 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004426/0.6016, allocations: 0.7029 MB / 0.5368 GB, free: 6.371 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009708/0.6113, allocations: 2.185 MB / 0.539 GB, free: 4.855 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005709/0.6171, allocations: 1.49 MB / 0.5404 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01017/0.6273, allocations: 6.334 MB / 0.5466 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003026/0.6303, allocations: 1.314 MB / 0.5479 GB, free: 13.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004136/0.6345, allocations: 1.552 MB / 0.5494 GB, free: 11.92 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002953/0.6375, allocations: 1.431 MB / 0.5508 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003076/0.6378, allocations: 83.94 kB / 0.5509 GB, free: 10.4 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003325/0.6411, allocations: 1.08 MB / 0.5519 GB, free: 9.316 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004514/0.6416, allocations: 354.5 kB / 0.5523 GB, free: 8.969 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001412/0.643, allocations: 0.8975 MB / 0.5532 GB, free: 8.066 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00391/0.6469, allocations: 2.765 MB / 0.5559 GB, free: 5.293 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.647, allocations: 0 / 0.5559 GB, free: 5.293 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.647, allocations: 4 kB / 0.5559 GB, free: 5.289 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.944e-05/0.647, allocations: 0 / 0.5559 GB, free: 5.289 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.003522/0.6505, allocations: 2.159 MB / 0.558 GB, free: 3.078 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.6506, allocations: 8.031 kB / 0.558 GB, free: 3.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000655/0.6513, allocations: 217.8 kB / 0.5582 GB, free: 2.855 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002149/0.6534, allocations: 1.355 MB / 0.5595 GB, free: 1.445 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.239e-05/0.6535, allocations: 90.17 kB / 0.5596 GB, free: 1.355 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.6536, allocations: 116 kB / 0.5597 GB, free: 1.242 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003727/0.6574, allocations: 1.552 MB / 0.5612 GB, free: 15.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/0.6574, allocations: 7.938 kB / 0.5612 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.456e-05/0.6575, allocations: 44 kB / 0.5613 GB, free: 15.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.068e-05/0.6576, allocations: 43.92 kB / 0.5613 GB, free: 15.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003109/0.6607, allocations: 1.139 MB / 0.5624 GB, free: 14.35 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007429/0.6681, allocations: 6.709 MB / 0.569 GB, free: 7.219 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002253/0.6704, allocations: 0.66 MB / 0.5696 GB, free: 6.551 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003315/0.6708, allocations: 216 kB / 0.5698 GB, free: 6.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002038/0.671, allocations: 178.5 kB / 0.57 GB, free: 6.129 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.671, allocations: 38.89 kB / 0.57 GB, free: 6.082 MB / 446.1 MB Notification: Performance of pre-optimization done (n=39): time 1.713e-06/0.671, allocations: 4 kB / 0.57 GB, free: 6.078 MB / 446.1 MB Notification: Performance of matching and sorting (n=43): time 0.008639/0.6797, allocations: 2.551 MB / 0.5725 GB, free: 3.461 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.297e-05/0.6798, allocations: 136.5 kB / 0.5727 GB, free: 3.297 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001889/0.6817, allocations: 1.457 MB / 0.5741 GB, free: 1.836 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.044e-05/0.6818, allocations: 45.7 kB / 0.5741 GB, free: 1.785 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006069/0.6824, allocations: 0.7741 MB / 0.5749 GB, free: 1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.6825, allocations: 153.8 kB / 0.575 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00028/0.6828, allocations: 202.4 kB / 0.5752 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.683, allocations: 341.9 kB / 0.5755 GB, free: 312 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009624/0.6839, allocations: 384.7 kB / 0.5759 GB, free: 15.92 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0012/0.6851, allocations: 0.6915 MB / 0.5766 GB, free: 15.1 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002006/0.6872, allocations: 1.001 MB / 0.5776 GB, free: 13.98 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.6872, allocations: 4 kB / 0.5776 GB, free: 13.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002694/0.6899, allocations: 1.21 MB / 0.5787 GB, free: 12.76 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.6899, allocations: 8 kB / 0.5788 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.6899, allocations: 10.5 kB / 0.5788 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.69, allocations: 12 kB / 0.5788 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.6911, allocations: 264.2 kB / 0.579 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.091e-05/0.6911, allocations: 15.94 kB / 0.579 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/0.6929, allocations: 163.6 kB / 0.5792 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.709e-05/0.693, allocations: 39.98 kB / 0.5792 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001165/0.6942, allocations: 0.5526 MB / 0.5798 GB, free: 11.7 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006899/0.6949, allocations: 0.5746 MB / 0.5803 GB, free: 10.99 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009545/0.6959, allocations: 0.7669 MB / 0.5811 GB, free: 10.11 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.869e-06/0.6959, allocations: 4 kB / 0.5811 GB, free: 10.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=112) (initialization_lambda0): time 0.001536/0.6974, allocations: 0.9731 MB / 0.582 GB, free: 9.129 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.6975, allocations: 8 kB / 0.582 GB, free: 9.121 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.6975, allocations: 8 kB / 0.5821 GB, free: 9.113 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.6975, allocations: 16 kB / 0.5821 GB, free: 9.098 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007035/0.6982, allocations: 204.2 kB / 0.5823 GB, free: 8.898 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/0.6982, allocations: 19.88 kB / 0.5823 GB, free: 8.879 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.6994, allocations: 103.8 kB / 0.5824 GB, free: 8.777 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.925e-05/0.6995, allocations: 39.98 kB / 0.5824 GB, free: 8.738 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (112): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002943/0.6998, allocations: 236 kB / 0.5826 GB, free: 8.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002409/0.7, allocations: 154 kB / 0.5828 GB, free: 8.348 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002302/0.7023, allocations: 0.9214 MB / 0.5837 GB, free: 7.422 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.7023, allocations: 8 kB / 0.5837 GB, free: 7.414 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.7024, allocations: 4 kB / 0.5837 GB, free: 7.41 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001863/0.7042, allocations: 1.054 MB / 0.5847 GB, free: 6.262 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003882/0.7081, allocations: 2.15 MB / 0.5868 GB, free: 4.039 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.7081, allocations: 7.984 kB / 0.5868 GB, free: 4.031 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006476/0.7088, allocations: 132 kB / 0.587 GB, free: 3.902 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002328/0.709, allocations: 85.66 kB / 0.587 GB, free: 3.812 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.026e-05/0.7091, allocations: 16 kB / 0.5871 GB, free: 3.797 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007412/0.7098, allocations: 1.167 MB / 0.5882 GB, free: 2.578 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.7099, allocations: 288 / 0.5882 GB, free: 2.578 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002822/0.7127, allocations: 1.375 MB / 0.5895 GB, free: 1.164 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000538/0.7132, allocations: 303.1 kB / 0.5898 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001824/0.7134, allocations: 12 kB / 0.5898 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.7145, allocations: 127.7 kB / 0.59 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.899e-05/0.7146, allocations: 35.89 kB / 0.59 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.573e-05/0.7146, allocations: 27.97 kB / 0.59 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001213/0.7158, allocations: 0.9752 MB / 0.591 GB, free: 15.68 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7159, allocations: 0 / 0.591 GB, free: 15.68 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001845/0.7177, allocations: 0.6485 MB / 0.5916 GB, free: 15.03 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U) * 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 (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007751/0.7185, allocations: 341.8 kB / 0.5919 GB, free: 14.69 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002806/0.7213, allocations: 1.283 MB / 0.5932 GB, free: 13.41 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.7213, allocations: 7.938 kB / 0.5932 GB, free: 13.41 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009541/0.7223, allocations: 377.2 kB / 0.5936 GB, free: 13.04 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003925/0.7262, allocations: 0.926 MB / 0.5945 GB, free: 12.14 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/0.7375, allocations: 4.178 MB / 0.5985 GB, free: 7.918 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007524/0.7383, allocations: 1.257 MB / 0.5998 GB, free: 6.633 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001706/0.74, allocations: 331.8 kB / 0.6001 GB, free: 6.312 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003218/0.7403, allocations: 123.4 kB / 0.6002 GB, free: 6.191 MB / 478.1 MB Notification: Performance of SimCode: time 4.41e-07/0.7403, allocations: 0 / 0.6002 GB, free: 6.191 MB / 478.1 MB Notification: Performance of Templates: time 0.05208/0.7924, allocations: 31.32 MB / 0.6308 GB, free: 7.102 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)