Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.66/1.66, allocations: 288.4 MB / 304.3 MB, free: 8.078 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001405/0.001405, allocations: 187.8 kB / 372.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.552/1.552, allocations: 205.4 MB / 0.6316 GB, free: 9.918 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008761/0.0008759, allocations: 94.28 kB / 0.745 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004466/0.0004469, allocations: 12.56 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2286, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.02037/0.249, allocations: 27.75 MB / 1.008 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0154/0.2645, allocations: 10.98 MB / 1.019 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.2659, allocations: 35.62 kB / 1.019 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.2669, allocations: 301.9 kB / 1.019 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00337/0.2703, allocations: 1.166 MB / 1.02 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002586/0.2729, allocations: 0.9607 MB / 1.021 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003773/0.2767, allocations: 3.536 MB / 1.024 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001527/0.2782, allocations: 1.12 MB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002318/0.2805, allocations: 1.468 MB / 1.027 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002298/0.2828, allocations: 1.546 MB / 1.028 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002719/0.2831, allocations: 67.94 kB / 1.029 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00171/0.2848, allocations: 0.9046 MB / 1.029 GB, free: 9.398 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003391/0.2852, allocations: 330.7 kB / 1.03 GB, free: 9.074 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0007491/0.2859, allocations: 0.6745 MB / 1.03 GB, free: 8.391 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.00142/0.2874, allocations: 1.532 MB / 1.032 GB, free: 6.855 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2874, allocations: 0 / 1.032 GB, free: 6.855 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2874, allocations: 0 / 1.032 GB, free: 6.855 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.456e-05/0.2874, allocations: 8 kB / 1.032 GB, free: 6.848 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002086/0.2895, allocations: 1.313 MB / 1.033 GB, free: 5.48 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.2896, allocations: 12.03 kB / 1.033 GB, free: 5.469 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002755/0.2898, allocations: 151 kB / 1.033 GB, free: 5.32 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/0.2914, allocations: 0.8829 MB / 1.034 GB, free: 4.395 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.213e-05/0.2914, allocations: 85.31 kB / 1.034 GB, free: 4.312 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001934/0.2916, allocations: 116 kB / 1.034 GB, free: 4.199 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.2927, allocations: 0.6434 MB / 1.035 GB, free: 3.527 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.2927, allocations: 4 kB / 1.035 GB, free: 3.523 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.404e-05/0.2928, allocations: 20 kB / 1.035 GB, free: 3.504 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.2928, allocations: 19.94 kB / 1.035 GB, free: 3.484 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009212/0.2937, allocations: 472.8 kB / 1.035 GB, free: 3.023 MB / 0.6511 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.004426/0.2982, allocations: 2.871 MB / 1.038 GB, free: 0 / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006143/0.2988, allocations: 316.6 kB / 1.039 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/0.2991, allocations: 161.3 kB / 1.039 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003198/0.2994, allocations: 336.7 kB / 1.039 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.2995, allocations: 38.84 kB / 1.039 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=33): time 2.465e-06/0.2995, allocations: 0 / 1.039 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of matching and sorting (n=33): time 0.001276/0.3008, allocations: 0.5469 MB / 1.04 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.3008, allocations: 55.41 kB / 1.04 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.3018, allocations: 0.8829 MB / 1.041 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001192/0.302, allocations: 57.7 kB / 1.041 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004818/0.3025, allocations: 0.5334 MB / 1.041 GB, free: 12.94 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 9.03e-05/0.3026, allocations: 114.4 kB / 1.041 GB, free: 12.83 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/0.3026, allocations: 12 kB / 1.041 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.3027, allocations: 334.1 kB / 1.042 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003647/0.3031, allocations: 173.2 kB / 1.042 GB, free: 12.31 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.3044, allocations: 1.139 MB / 1.043 GB, free: 10.81 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007874/0.3052, allocations: 455.4 kB / 1.043 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3052, allocations: 0 / 1.043 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001202/0.3064, allocations: 0.6422 MB / 1.044 GB, free: 9.688 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.854e-05/0.3065, allocations: 148.3 kB / 1.044 GB, free: 9.512 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.3066, allocations: 4 kB / 1.044 GB, free: 9.508 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.3066, allocations: 4 kB / 1.044 GB, free: 9.504 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/0.308, allocations: 239.7 kB / 1.044 GB, free: 9.27 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001544/0.3095, allocations: 2.958 MB / 1.047 GB, free: 6.195 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003181/0.3127, allocations: 0.7533 MB / 1.048 GB, free: 5.441 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.358e-05/0.3128, allocations: 27.98 kB / 1.048 GB, free: 5.414 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/0.3128, allocations: 4 kB / 1.048 GB, free: 5.41 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009651/0.3138, allocations: 0.501 MB / 1.048 GB, free: 4.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3138, allocations: 4 kB / 1.048 GB, free: 4.906 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/0.3138, allocations: 4 kB / 1.048 GB, free: 4.902 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006431/0.3145, allocations: 156 kB / 1.049 GB, free: 4.75 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.3145, allocations: 8 kB / 1.049 GB, free: 4.742 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003037/0.3175, allocations: 0.7339 MB / 1.049 GB, free: 4.008 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-05/0.3176, allocations: 27.98 kB / 1.049 GB, free: 3.98 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005613/0.3182, allocations: 329.8 kB / 1.05 GB, free: 3.645 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.3183, allocations: 98.72 kB / 1.05 GB, free: 3.547 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.3194, allocations: 0.528 MB / 1.05 GB, free: 3.012 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.3195, allocations: 3.984 kB / 1.05 GB, free: 3.008 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3195, allocations: 0 / 1.05 GB, free: 3.008 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003144/0.3198, allocations: 223.7 kB / 1.05 GB, free: 2.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.219e-05/0.3199, allocations: 4 kB / 1.05 GB, free: 2.766 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004892/0.3204, allocations: 63.84 kB / 1.051 GB, free: 2.703 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.829e-05/0.3205, allocations: 32.17 kB / 1.051 GB, free: 2.672 MB / 0.6667 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001146/0.3216, allocations: 0.5681 MB / 1.051 GB, free: 2.082 MB / 0.6667 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001204/0.3228, allocations: 0.826 MB / 1.052 GB, free: 1.242 MB / 0.6667 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003332/0.3232, allocations: 172.6 kB / 1.052 GB, free: 1.074 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007335/0.3239, allocations: 0.5884 MB / 1.053 GB, free: 488 kB / 0.6667 GB Notification: Performance of Backend: time 7.12e-07/0.324, allocations: 0 / 1.053 GB, free: 488 kB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003231/0.3272, allocations: 1.025 MB / 1.054 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of SimCode: time 0.003661/0.3309, allocations: 2.467 MB / 1.056 GB, free: 12.94 MB / 0.6823 GB Notification: Performance of Templates: time 0.4085/0.7394, allocations: 25.52 MB / 1.081 GB, free: 83.78 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)