Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.829/2.829, allocations: 287.5 MB / 302.4 MB, free: 8.312 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.001397/0.001397, allocations: 180.6 kB / 371 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.205/2.205, allocations: 205.4 MB / 0.6297 GB, free: 10.56 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.0009781/0.0009781, allocations: 92.91 kB / 0.743 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006508/0.0006511, allocations: 13.14 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.223, allocations: 115.3 MB / 0.9784 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02207/0.2451, allocations: 17.99 MB / 0.9959 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01435/0.2595, allocations: 7.722 MB / 1.003 GB, free: 2.586 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.2607, allocations: 23.75 kB / 1.003 GB, free: 2.562 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000902/0.2616, allocations: 194.7 kB / 1.004 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00249/0.2641, allocations: 0.6148 MB / 1.004 GB, free: 1.754 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002748/0.2669, allocations: 0.7247 MB / 1.005 GB, free: 1.035 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002777/0.2697, allocations: 1.678 MB / 1.007 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009615/0.2707, allocations: 411.2 kB / 1.007 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001538/0.2723, allocations: 0.529 MB / 1.008 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/0.2736, allocations: 0.494 MB / 1.008 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002165/0.2738, allocations: 28 kB / 1.008 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002208/0.276, allocations: 0.5925 MB / 1.009 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002694/0.2764, allocations: 119.4 kB / 1.009 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003804/0.2767, allocations: 153.3 kB / 1.009 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001636/0.2784, allocations: 0.748 MB / 1.01 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.2784, allocations: 0 / 1.01 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.025e-06/0.2785, allocations: 0 / 1.01 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.541e-05/0.2785, allocations: 0 / 1.01 GB, free: 12.27 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.00289/0.2814, allocations: 0.9967 MB / 1.011 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.2814, allocations: 8.031 kB / 1.011 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002032/0.2817, allocations: 79.06 kB / 1.011 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.2828, allocations: 482.7 kB / 1.011 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.819e-05/0.2828, allocations: 44.94 kB / 1.011 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.283, allocations: 52 kB / 1.011 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/0.2848, allocations: 0.6371 MB / 1.012 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.2848, allocations: 0 / 1.012 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.395e-05/0.2849, allocations: 20 kB / 1.012 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/0.2849, allocations: 12 kB / 1.012 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001909/0.2868, allocations: 0.5151 MB / 1.012 GB, free: 9.273 MB / 0.6355 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.006028/0.2929, allocations: 3.189 MB / 1.015 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002028/0.295, allocations: 354.7 kB / 1.016 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/0.2965, allocations: 240.7 kB / 1.016 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006968/0.2973, allocations: 352.4 kB / 1.016 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.88e-05/0.2973, allocations: 42.55 kB / 1.016 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=38): time 4.568e-06/0.2974, allocations: 0 / 1.016 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of matching and sorting (n=38): time 0.005552/0.3029, allocations: 0.8571 MB / 1.017 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/0.303, allocations: 59.41 kB / 1.017 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001537/0.3046, allocations: 0.5821 MB / 1.018 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.000124/0.3047, allocations: 33.7 kB / 1.018 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004959/0.3053, allocations: 328.4 kB / 1.018 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002492/0.3055, allocations: 130.1 kB / 1.018 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.942e-05/0.3056, allocations: 12 kB / 1.018 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000271/0.3059, allocations: 370.8 kB / 1.019 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008967/0.3068, allocations: 221.2 kB / 1.019 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.3079, allocations: 378.6 kB / 1.019 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.3089, allocations: 252.7 kB / 1.02 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.3089, allocations: 0 / 1.02 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002649/0.3116, allocations: 0.734 MB / 1.02 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002137/0.3118, allocations: 223.6 kB / 1.02 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/0.3119, allocations: 8 kB / 1.02 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/0.3129, allocations: 164.6 kB / 1.021 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.3143, allocations: 155.8 kB / 1.021 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.3154, allocations: 0.6226 MB / 1.021 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.3167, allocations: 110 kB / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.3168, allocations: 31.98 kB / 1.022 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.3168, allocations: 9.516 kB / 1.022 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002286/0.3191, allocations: 0.623 MB / 1.022 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.3192, allocations: 4 kB / 1.022 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.3192, allocations: 8 kB / 1.022 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/0.3205, allocations: 160.2 kB / 1.022 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.828e-05/0.3205, allocations: 11.94 kB / 1.022 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.3216, allocations: 95.47 kB / 1.022 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-05/0.3217, allocations: 35.92 kB / 1.022 GB, free: 14.44 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005135/0.3223, allocations: 264.9 kB / 1.023 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.3225, allocations: 67.2 kB / 1.023 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002622/0.3251, allocations: 0.6612 MB / 1.023 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/0.3251, allocations: 11.94 kB / 1.023 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.3252, allocations: 4 kB / 1.023 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.3252, allocations: 4.078 kB / 1.023 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004385/0.3296, allocations: 1.397 MB / 1.025 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.3296, allocations: 7.938 kB / 1.025 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007153/0.3304, allocations: 91.97 kB / 1.025 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007127/0.3311, allocations: 116.8 kB / 1.025 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.566e-05/0.3312, allocations: 23.98 kB / 1.025 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001034/0.3322, allocations: 0.6381 MB / 1.026 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.3323, allocations: 4.031 kB / 1.026 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002489/0.3348, allocations: 0.7243 MB / 1.026 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004667/0.3353, allocations: 204 kB / 1.027 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.3354, allocations: 4 kB / 1.027 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008051/0.3362, allocations: 55.95 kB / 1.027 GB, free: 10 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.3364, allocations: 31.95 kB / 1.027 GB, free: 9.969 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.994e-05/0.3365, allocations: 19.98 kB / 1.027 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000731/0.3372, allocations: 391.1 kB / 1.027 GB, free: 9.574 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.91e-07/0.3372, allocations: 0 / 1.027 GB, free: 9.574 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001662/0.3389, allocations: 383.4 kB / 1.027 GB, free: 9.199 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009679/0.3399, allocations: 299.7 kB / 1.028 GB, free: 8.906 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003712/0.3436, allocations: 0.9144 MB / 1.029 GB, free: 7.992 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.3437, allocations: 4 kB / 1.029 GB, free: 7.988 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.345, allocations: 295.9 kB / 1.029 GB, free: 7.699 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002776/0.3478, allocations: 276 kB / 1.029 GB, free: 7.43 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003124/0.351, allocations: 1.281 MB / 1.03 GB, free: 6.109 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000658/0.3517, allocations: 0.9077 MB / 1.031 GB, free: 5.176 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001157/0.3529, allocations: 157.8 kB / 1.031 GB, free: 5.027 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002773/0.3532, allocations: 67.41 kB / 1.031 GB, free: 4.961 MB / 0.6511 GB Notification: Performance of SimCode: time 1.102e-06/0.3532, allocations: 3.938 kB / 1.031 GB, free: 4.957 MB / 0.6511 GB Notification: Performance of Templates: time 0.03599/0.3892, allocations: 11.82 MB / 1.043 GB, free: 9.277 MB / 0.6667 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)