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.002704/0.002703, allocations: 359.9 kB / 16.59 MB, free: 5.562 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.327/1.327, allocations: 165.8 MB / 183.1 MB, free: 5.914 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.765/4.765, allocations: 410.8 MB / 0.6001 GB, free: 2.16 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001961/0.001961, allocations: 184.4 kB / 0.6668 GB, free: 14.04 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007501/0.0007504, allocations: 16 kB / 0.7429 GB, free: 20 kB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5946/0.5954, allocations: 67.42 MB / 0.8087 GB, free: 245.5 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1632/0.7587, allocations: 104.5 MB / 0.9108 GB, free: 152.9 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.06133/0.8201, allocations: 22.37 MB / 0.9327 GB, free: 130.5 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006593/0.8267, allocations: 103.1 kB / 0.9328 GB, free: 130.4 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.009061/0.8359, allocations: 1.386 MB / 0.9341 GB, free: 129 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.02194/0.8579, allocations: 3.719 MB / 0.9377 GB, free: 125.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.02686/0.8848, allocations: 5.196 MB / 0.9428 GB, free: 120.4 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.01679/0.9016, allocations: 8.061 MB / 0.9507 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00648/0.9081, allocations: 1.798 MB / 0.9524 GB, free: 110.5 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008474/0.9167, allocations: 2.129 MB / 0.9545 GB, free: 108.4 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006163/0.9229, allocations: 1.897 MB / 0.9564 GB, free: 106.5 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.001387/0.9244, allocations: 96 kB / 0.9565 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006511/0.9309, allocations: 0.9666 MB / 0.9574 GB, free: 105.4 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.001665/0.9327, allocations: 497.7 kB / 0.9579 GB, free: 104.9 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.002098/0.9349, allocations: 0.5589 MB / 0.9584 GB, free: 104.4 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.008354/0.9433, allocations: 3.191 MB / 0.9615 GB, free: 101.2 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.9434, allocations: 0 / 0.9615 GB, free: 101.2 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.096e-06/0.9434, allocations: 0 / 0.9615 GB, free: 101.2 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001831/0.9436, allocations: 0 / 0.9615 GB, free: 101.2 MB / 0.5886 GB 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.01021/0.9538, allocations: 2.658 MB / 0.9641 GB, free: 98.46 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.443e-05/0.9539, allocations: 11.97 kB / 0.9642 GB, free: 98.45 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002082/0.956, allocations: 320.3 kB / 0.9645 GB, free: 98.13 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008377/0.9645, allocations: 2.031 MB / 0.9664 GB, free: 96.03 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002054/0.9647, allocations: 127 kB / 0.9666 GB, free: 95.91 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006533/0.9654, allocations: 168.9 kB / 0.9667 GB, free: 95.74 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006483/0.9719, allocations: 1.6 MB / 0.9683 GB, free: 94.08 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.411e-05/0.9721, allocations: 7.844 kB / 0.9683 GB, free: 94.07 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003138/0.9724, allocations: 64 kB / 0.9684 GB, free: 94.01 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.712e-05/0.9725, allocations: 40 kB / 0.9684 GB, free: 93.97 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005409/0.9779, allocations: 1.147 MB / 0.9695 GB, free: 92.82 MB / 0.5886 GB 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.02261/1.001, allocations: 7.873 MB / 0.9772 GB, free: 84.46 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/1.002, allocations: 486.3 kB / 0.9777 GB, free: 83.98 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00118/1.004, allocations: 327.5 kB / 0.978 GB, free: 83.66 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009167/1.005, allocations: 0.7524 MB / 0.9787 GB, free: 82.74 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.988e-05/1.005, allocations: 39.12 kB / 0.9787 GB, free: 82.69 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=60): time 5.21e-06/1.005, allocations: 0 / 0.9787 GB, free: 82.69 MB / 0.5886 GB Notification: Performance of matching and sorting (n=60): time 0.004495/1.009, allocations: 0.996 MB / 0.9797 GB, free: 81.69 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/1.009, allocations: 63.91 kB / 0.9798 GB, free: 81.62 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006611/1.016, allocations: 2.238 MB / 0.982 GB, free: 79.37 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0003386/1.016, allocations: 49.7 kB / 0.982 GB, free: 79.31 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001916/1.018, allocations: 1.141 MB / 0.9831 GB, free: 78.16 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004969/1.019, allocations: 220.9 kB / 0.9833 GB, free: 77.94 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/1.019, allocations: 20 kB / 0.9834 GB, free: 77.92 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001605/1.019, allocations: 349.9 kB / 0.9837 GB, free: 77.57 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001586/1.021, allocations: 342.4 kB / 0.984 GB, free: 77.24 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002022/1.023, allocations: 0.7385 MB / 0.9847 GB, free: 76.35 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001948/1.025, allocations: 465.1 kB / 0.9852 GB, free: 75.9 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.534e-05/1.025, allocations: 4 kB / 0.9852 GB, free: 75.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.00531/1.03, allocations: 1.27 MB / 0.9864 GB, free: 74.62 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002907/1.031, allocations: 346 kB / 0.9868 GB, free: 74.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.469e-05/1.031, allocations: 8 kB / 0.9868 GB, free: 74.17 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.359e-05/1.031, allocations: 16 kB / 0.9868 GB, free: 74.15 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002755/1.033, allocations: 255.6 kB / 0.987 GB, free: 73.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.892e-05/1.034, allocations: 19.92 kB / 0.987 GB, free: 73.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004723/1.038, allocations: 266 kB / 0.9873 GB, free: 73.62 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003764/1.039, allocations: 53.95 kB / 0.9873 GB, free: 73.57 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/1.039, allocations: 7.953 kB / 0.9874 GB, free: 73.56 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004146/1.043, allocations: 1.02 MB / 0.9884 GB, free: 72.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.161e-05/1.043, allocations: 8 kB / 0.9884 GB, free: 72.54 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.28e-05/1.043, allocations: 16 kB / 0.9884 GB, free: 72.52 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002715/1.046, allocations: 251.6 kB / 0.9886 GB, free: 72.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.482e-05/1.046, allocations: 23.92 kB / 0.9886 GB, free: 72.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004495/1.05, allocations: 222.8 kB / 0.9889 GB, free: 72.03 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003431/1.051, allocations: 47.98 kB / 0.9889 GB, free: 71.98 MB / 0.5886 GB 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.002063/1.053, allocations: 0.5733 MB / 0.9895 GB, free: 71.4 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009453/1.054, allocations: 233.6 kB / 0.9897 GB, free: 71.17 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003822/1.058, allocations: 0.8984 MB / 0.9906 GB, free: 70.28 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00235/1.06, allocations: 0.6853 MB / 0.9912 GB, free: 69.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/1.06, allocations: 0 / 0.9912 GB, free: 69.57 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00197/1.062, allocations: 449.8 kB / 0.9917 GB, free: 69.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001016/1.063, allocations: 16.27 kB / 0.9917 GB, free: 69.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003618/1.067, allocations: 115.7 kB / 0.9918 GB, free: 68.98 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002656/1.067, allocations: 40.5 kB / 0.9918 GB, free: 68.94 MB / 0.5886 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003598/1.071, allocations: 0.7955 MB / 0.9926 GB, free: 68.14 MB / 0.5886 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004907/1.076, allocations: 1.395 MB / 0.994 GB, free: 66.72 MB / 0.5886 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001169/1.077, allocations: 316.4 kB / 0.9943 GB, free: 66.41 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00486/1.082, allocations: 1.494 MB / 0.9957 GB, free: 64.91 MB / 0.5886 GB Notification: Performance of Backend: time 9.92e-07/1.082, allocations: 0 / 0.9957 GB, free: 64.91 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.009253/1.091, allocations: 1.918 MB / 0.9976 GB, free: 63.23 MB / 0.5886 GB Notification: Performance of SimCode: time 0.02448/1.116, allocations: 5.878 MB / 1.003 GB, free: 57.35 MB / 0.5886 GB Notification: Performance of Templates: time 0.1594/1.275, allocations: 47.42 MB / 1.05 GB, free: 10.62 MB / 0.5886 GB