Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.437/1.437, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008944/0.0008945, allocations: 170.7 kB / 326.5 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 205 MB / 0.5767 GB, free: 21.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00073/0.0007302, allocations: 85.7 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003145/0.0003147, allocations: 12.5 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2031, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.09041/0.2935, allocations: 112.2 MB / 1.006 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03726/0.3308, allocations: 24.44 MB / 1.03 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005448/0.3363, allocations: 107.1 kB / 1.03 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005391/0.3418, allocations: 1.045 MB / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01069/0.3525, allocations: 3.346 MB / 1.035 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007619/0.3601, allocations: 2.774 MB / 1.037 GB, free: 3.934 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01229/0.3724, allocations: 9.396 MB / 1.046 GB, free: 10.51 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004654/0.3771, allocations: 2.034 MB / 1.048 GB, free: 8.418 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006233/0.3834, allocations: 2.333 MB / 1.051 GB, free: 6.074 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004328/0.3877, allocations: 2.01 MB / 1.053 GB, free: 4.055 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000687/0.3885, allocations: 88 kB / 1.053 GB, free: 3.969 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004445/0.3929, allocations: 1.431 MB / 1.054 GB, free: 2.535 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006341/0.3936, allocations: 0.4976 MB / 1.055 GB, free: 2.035 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002092/0.3957, allocations: 1.29 MB / 1.056 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.4936/0.8893, allocations: 4.074 MB / 1.06 GB, free: 40.35 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.8893, allocations: 0 / 1.06 GB, free: 40.35 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.705e-06/0.8893, allocations: 0 / 1.06 GB, free: 40.35 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001338/0.8895, allocations: 0 / 1.06 GB, free: 40.35 MB / 0.698 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.005291/0.8948, allocations: 2.639 MB / 1.062 GB, free: 39.13 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.8948, allocations: 12.78 kB / 1.062 GB, free: 39.13 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008454/0.8957, allocations: 318.2 kB / 1.063 GB, free: 38.98 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00345/0.8991, allocations: 2.114 MB / 1.065 GB, free: 38.41 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.387e-05/0.8992, allocations: 128.7 kB / 1.065 GB, free: 38.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001924/0.8994, allocations: 166.8 kB / 1.065 GB, free: 38.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002905/0.9023, allocations: 1.598 MB / 1.067 GB, free: 38.21 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.12e-05/0.9024, allocations: 2.156 kB / 1.067 GB, free: 38.21 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001535/0.9026, allocations: 66.56 kB / 1.067 GB, free: 38.21 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.928e-05/0.9026, allocations: 42.2 kB / 1.067 GB, free: 38.21 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00237/0.905, allocations: 1.151 MB / 1.068 GB, free: 38.2 MB / 0.698 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.01097/0.916, allocations: 7.853 MB / 1.076 GB, free: 34.54 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008119/0.9168, allocations: 485.9 kB / 1.076 GB, free: 34.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004961/0.9173, allocations: 323.5 kB / 1.076 GB, free: 34.49 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004401/0.9178, allocations: 0.7581 MB / 1.077 GB, free: 33.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.9178, allocations: 38.88 kB / 1.077 GB, free: 33.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 3.837e-06/0.9178, allocations: 1.828 kB / 1.077 GB, free: 33.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.002115/0.9199, allocations: 0.9987 MB / 1.078 GB, free: 33.43 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.92, allocations: 60.84 kB / 1.078 GB, free: 33.37 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00317/0.9232, allocations: 2.259 MB / 1.08 GB, free: 33.12 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001754/0.9233, allocations: 48.14 kB / 1.08 GB, free: 33.09 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008328/0.9242, allocations: 1.147 MB / 1.082 GB, free: 32.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002026/0.9244, allocations: 218.3 kB / 1.082 GB, free: 32.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.9245, allocations: 107.9 kB / 1.082 GB, free: 32.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.949e-05/0.9246, allocations: 343 kB / 1.082 GB, free: 32.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000609/0.9252, allocations: 355.8 kB / 1.082 GB, free: 32.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008354/0.9261, allocations: 0.7512 MB / 1.083 GB, free: 31.86 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/0.9274, allocations: 0.9867 MB / 1.084 GB, free: 31.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.9274, allocations: 2.906 kB / 1.084 GB, free: 31.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002537/0.9299, allocations: 1.294 MB / 1.085 GB, free: 31.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001497/0.9301, allocations: 351.3 kB / 1.086 GB, free: 30.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.9301, allocations: 7.531 kB / 1.086 GB, free: 30.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.397e-05/0.9301, allocations: 13.81 kB / 1.086 GB, free: 30.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000985/0.9311, allocations: 255 kB / 1.086 GB, free: 30.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-05/0.9312, allocations: 19.84 kB / 1.086 GB, free: 30.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/0.9332, allocations: 252.4 kB / 1.086 GB, free: 30.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.88e-05/0.9333, allocations: 51.78 kB / 1.086 GB, free: 30.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.304e-06/0.9333, allocations: 7.25 kB / 1.086 GB, free: 30.89 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001495/0.9348, allocations: 1.028 MB / 1.087 GB, free: 30.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.9348, allocations: 8.25 kB / 1.087 GB, free: 30.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.9348, allocations: 17.31 kB / 1.087 GB, free: 30.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008105/0.9357, allocations: 252.9 kB / 1.088 GB, free: 30.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.217e-05/0.9357, allocations: 22.84 kB / 1.088 GB, free: 30.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/0.9375, allocations: 230.7 kB / 1.088 GB, free: 30.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.01e-05/0.9376, allocations: 51.66 kB / 1.088 GB, free: 30.79 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001266/0.9389, allocations: 0.5715 MB / 1.088 GB, free: 30.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006035/0.9395, allocations: 228.2 kB / 1.089 GB, free: 30.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/0.9413, allocations: 0.8921 MB / 1.09 GB, free: 30.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009482/0.9423, allocations: 0.6862 MB / 1.09 GB, free: 30.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.9423, allocations: 0 / 1.09 GB, free: 30.22 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/0.9434, allocations: 401.6 kB / 1.091 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006149/0.944, allocations: 11.16 kB / 1.091 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/0.9455, allocations: 126.4 kB / 1.091 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.9457, allocations: 35.06 kB / 1.091 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001539/0.9472, allocations: 0.7911 MB / 1.092 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001993/0.9492, allocations: 1.39 MB / 1.093 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004458/0.9497, allocations: 325.3 kB / 1.093 GB, free: 29.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003065/0.9528, allocations: 1.518 MB / 1.095 GB, free: 29.34 MB / 0.698 GB Notification: Performance of Backend: time 4.11e-07/0.9528, allocations: 0 / 1.095 GB, free: 29.34 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006271/0.959, allocations: 1.99 MB / 1.097 GB, free: 29.1 MB / 0.698 GB Notification: Performance of SimCode: time 0.0123/0.9714, allocations: 5.998 MB / 1.103 GB, free: 26.2 MB / 0.698 GB Notification: Performance of Templates: time 0.07203/1.043, allocations: 48.8 MB / 1.15 GB, free: 13.14 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)