Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003861/0.003861, allocations: 357.2 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.583/1.583, allocations: 165.8 MB / 182.5 MB, free: 5.477 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.892/3.892, allocations: 410.8 MB / 0.5995 GB, free: 15.18 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001729/0.001729, allocations: 198.1 kB / 0.6662 GB, free: 6.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000455/0.0004552, allocations: 12 kB / 0.7423 GB, free: 8.973 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3349, allocations: 67.44 MB / 0.8082 GB, free: 28.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.136/0.4709, allocations: 104.5 MB / 0.9102 GB, free: 4.008 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.5461/1.017, allocations: 22.35 MB / 0.9321 GB, free: 32.59 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004489/1.022, allocations: 104.4 kB / 0.9322 GB, free: 32.59 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005404/1.027, allocations: 1.38 MB / 0.9335 GB, free: 32.59 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01373/1.041, allocations: 3.723 MB / 0.9371 GB, free: 32.55 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01763/1.058, allocations: 5.208 MB / 0.9422 GB, free: 32.34 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.01194/1.07, allocations: 8.049 MB / 0.9501 GB, free: 32.34 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003895/1.074, allocations: 1.794 MB / 0.9518 GB, free: 32.09 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005346/1.08, allocations: 2.132 MB / 0.9539 GB, free: 31.85 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003855/1.084, allocations: 1.906 MB / 0.9558 GB, free: 31.42 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006186/1.084, allocations: 90.06 kB / 0.9559 GB, free: 31.42 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004184/1.088, allocations: 0.9664 MB / 0.9568 GB, free: 31.36 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00105/1.09, allocations: 0.4906 MB / 0.9573 GB, free: 31.25 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001383/1.091, allocations: 0.5543 MB / 0.9578 GB, free: 31.13 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005106/1.096, allocations: 3.195 MB / 0.9609 GB, free: 29.84 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.653e-06/1.096, allocations: 4 kB / 0.9609 GB, free: 29.84 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.428e-06/1.096, allocations: 0 / 0.9609 GB, free: 29.84 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.556e-05/1.096, allocations: 0 / 0.9609 GB, free: 29.84 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.005448/1.102, allocations: 2.656 MB / 0.9635 GB, free: 28.13 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/1.102, allocations: 10.66 kB / 0.9636 GB, free: 28.13 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/1.103, allocations: 322.5 kB / 0.9639 GB, free: 27.97 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004854/1.108, allocations: 2.026 MB / 0.9658 GB, free: 27.05 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/1.108, allocations: 127.1 kB / 0.966 GB, free: 27.04 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002776/1.108, allocations: 170.4 kB / 0.9661 GB, free: 27.04 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00348/1.112, allocations: 1.606 MB / 0.9677 GB, free: 26.57 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.998e-05/1.112, allocations: 6.641 kB / 0.9677 GB, free: 26.56 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001701/1.112, allocations: 61.91 kB / 0.9678 GB, free: 26.56 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.602e-05/1.112, allocations: 47.03 kB / 0.9678 GB, free: 26.56 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002733/1.115, allocations: 1.142 MB / 0.9689 GB, free: 26.38 MB / 474.7 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.01323/1.128, allocations: 7.886 MB / 0.9766 GB, free: 21.36 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/1.129, allocations: 478.4 kB / 0.9771 GB, free: 21.27 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006787/1.13, allocations: 330.7 kB / 0.9774 GB, free: 21.22 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005391/1.13, allocations: 0.7508 MB / 0.9781 GB, free: 20.36 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/1.13, allocations: 47.36 kB / 0.9782 GB, free: 20.32 MB / 474.7 MB Notification: Performance of pre-optimization done (n=60): time 3.866e-06/1.13, allocations: 4 kB / 0.9782 GB, free: 20.31 MB / 474.7 MB Notification: Performance of matching and sorting (n=60): time 0.00256/1.133, allocations: 0.9829 MB / 0.9791 GB, free: 20.06 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/1.133, allocations: 58.97 kB / 0.9792 GB, free: 20 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00397/1.137, allocations: 2.254 MB / 0.9814 GB, free: 19.39 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002459/1.137, allocations: 47.67 kB / 0.9814 GB, free: 19.36 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00133/1.139, allocations: 1.141 MB / 0.9825 GB, free: 18.91 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003346/1.139, allocations: 219.8 kB / 0.9828 GB, free: 18.76 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.622e-05/1.139, allocations: 19.69 kB / 0.9828 GB, free: 18.76 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/1.139, allocations: 351.8 kB / 0.9831 GB, free: 18.44 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/1.14, allocations: 346.9 kB / 0.9834 GB, free: 18.23 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/1.141, allocations: 0.7259 MB / 0.9842 GB, free: 17.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/1.143, allocations: 459 kB / 0.9846 GB, free: 17.24 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-05/1.143, allocations: 8 kB / 0.9846 GB, free: 17.23 MB / 474.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.004431/1.147, allocations: 1.273 MB / 0.9858 GB, free: 16.29 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002312/1.147, allocations: 346.6 kB / 0.9862 GB, free: 15.86 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/1.148, allocations: 8 kB / 0.9862 GB, free: 15.86 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.329e-05/1.148, allocations: 16 kB / 0.9862 GB, free: 15.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002525/1.15, allocations: 257.8 kB / 0.9864 GB, free: 15.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-05/1.15, allocations: 15.94 kB / 0.9865 GB, free: 15.58 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004204/1.154, allocations: 257.2 kB / 0.9867 GB, free: 15.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003589/1.155, allocations: 55.41 kB / 0.9868 GB, free: 15.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/1.155, allocations: 4 kB / 0.9868 GB, free: 15.3 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004002/1.159, allocations: 1.02 MB / 0.9878 GB, free: 14.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.709e-05/1.159, allocations: 8 kB / 0.9878 GB, free: 14.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.27e-05/1.159, allocations: 16.28 kB / 0.9878 GB, free: 14.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00227/1.161, allocations: 253.9 kB / 0.988 GB, free: 14.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.445e-05/1.161, allocations: 20.45 kB / 0.988 GB, free: 14.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002532/1.164, allocations: 224.8 kB / 0.9883 GB, free: 14.14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/1.164, allocations: 49.73 kB / 0.9883 GB, free: 14.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001377/1.166, allocations: 0.5817 MB / 0.9889 GB, free: 13.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005759/1.166, allocations: 233.1 kB / 0.9891 GB, free: 13.46 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002211/1.168, allocations: 0.8956 MB / 0.99 GB, free: 12.84 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/1.168, allocations: 7.5 kB / 0.99 GB, free: 12.84 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.909e-06/1.168, allocations: 5.641 kB / 0.99 GB, free: 12.84 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001243/1.17, allocations: 0.6924 MB / 0.9907 GB, free: 12.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00517/1.175, allocations: 2.557 MB / 0.9932 GB, free: 10.49 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/1.175, allocations: 0 / 0.9932 GB, free: 10.49 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006942/1.176, allocations: 125.9 kB / 0.9933 GB, free: 10.37 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/1.176, allocations: 4 kB / 0.9933 GB, free: 10.37 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.799e-05/1.176, allocations: 20.98 kB / 0.9933 GB, free: 10.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.86e-06/1.176, allocations: 0 / 0.9933 GB, free: 10.36 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.02e-06/1.176, allocations: 8.094 kB / 0.9933 GB, free: 10.35 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002563/1.178, allocations: 1.317 MB / 0.9946 GB, free: 9.355 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/1.18, allocations: 449.1 kB / 0.995 GB, free: 8.98 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003424/1.18, allocations: 15.53 kB / 0.995 GB, free: 8.977 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001517/1.181, allocations: 122.1 kB / 0.9951 GB, free: 8.867 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/1.182, allocations: 48.38 kB / 0.9952 GB, free: 8.824 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.658e-05/1.182, allocations: 30.61 kB / 0.9952 GB, free: 8.801 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002894/1.185, allocations: 1.49 MB / 0.9967 GB, free: 7.73 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.32e-07/1.185, allocations: 0 / 0.9967 GB, free: 7.73 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003584/1.188, allocations: 1.092 MB / 0.9977 GB, free: 6.703 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00196/1.19, allocations: 0.7134 MB / 0.9984 GB, free: 6.184 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002999/1.193, allocations: 1.35 MB / 0.9998 GB, free: 5.207 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/1.193, allocations: 0.5625 kB / 0.9998 GB, free: 5.207 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000677/1.194, allocations: 330.6 kB / 1 GB, free: 4.973 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008177/1.202, allocations: 1.396 MB / 1.001 GB, free: 3.812 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007609/1.21, allocations: 4.355 MB / 1.006 GB, free: 15.78 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001957/1.212, allocations: 1.624 MB / 1.007 GB, free: 14.18 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003515/1.215, allocations: 498.7 kB / 1.008 GB, free: 13.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006819/1.216, allocations: 169.1 kB / 1.008 GB, free: 13.53 MB / 490.7 MB Notification: Performance of SimCode: time 1.772e-06/1.216, allocations: 0 / 1.008 GB, free: 13.53 MB / 490.7 MB Notification: Performance of Templates: time 0.1106/1.327, allocations: 43.94 MB / 1.051 GB, free: 2.195 MB / 0.5105 GB