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 1.657/1.657, allocations: 287.5 MB / 302.6 MB, free: 8.27 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.00116/0.00116, allocations: 182.2 kB / 371.2 MB, free: 10.82 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.622/1.622, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0008971/0.0008972, allocations: 97.23 kB / 0.7432 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003869/0.0003869, allocations: 11.5 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.248, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01413/0.2622, allocations: 17.98 MB / 0.9962 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009895/0.2722, allocations: 7.718 MB / 1.004 GB, free: 2.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009016/0.2731, allocations: 27.75 kB / 1.004 GB, free: 2.383 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006968/0.2738, allocations: 182.7 kB / 1.004 GB, free: 2.203 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.2754, allocations: 0.6193 MB / 1.005 GB, free: 1.582 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001871/0.2773, allocations: 0.7368 MB / 1.005 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001587/0.2789, allocations: 1.696 MB / 1.007 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005581/0.2795, allocations: 432.8 kB / 1.007 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007962/0.2803, allocations: 0.529 MB / 1.008 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005652/0.2809, allocations: 0.4901 MB / 1.008 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.86e-05/0.2809, allocations: 28 kB / 1.008 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.282, allocations: 0.5886 MB / 1.009 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.2822, allocations: 135.3 kB / 1.009 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.2823, allocations: 153.3 kB / 1.009 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0007878/0.2831, allocations: 0.7365 MB / 1.01 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2831, allocations: 0 / 1.01 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2832, allocations: 0 / 1.01 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.2832, allocations: 0 / 1.01 GB, free: 12.04 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.001644/0.2848, allocations: 0.9814 MB / 1.011 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.2849, allocations: 12.02 kB / 1.011 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.285, allocations: 83.91 kB / 1.011 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006543/0.2857, allocations: 0.4949 MB / 1.011 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/0.2857, allocations: 41 kB / 1.012 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-05/0.2858, allocations: 52 kB / 1.012 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.2868, allocations: 0.6351 MB / 1.012 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.2868, allocations: 0 / 1.012 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.289e-05/0.2869, allocations: 24 kB / 1.012 GB, free: 9.566 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.2869, allocations: 12 kB / 1.012 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.2879, allocations: 0.5112 MB / 1.013 GB, free: 9.043 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.003205/0.2911, allocations: 3.201 MB / 1.016 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006885/0.2918, allocations: 358.5 kB / 1.016 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004636/0.2923, allocations: 245.6 kB / 1.016 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003484/0.2927, allocations: 344.4 kB / 1.017 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.2927, allocations: 38.56 kB / 1.017 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=38): time 1.723e-06/0.2927, allocations: 0 / 1.017 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=38): time 0.002087/0.2948, allocations: 0.8688 MB / 1.018 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.2949, allocations: 55.41 kB / 1.018 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006059/0.2955, allocations: 0.5782 MB / 1.018 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.568e-05/0.2955, allocations: 37.7 kB / 1.018 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000225/0.2958, allocations: 328.4 kB / 1.019 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.912e-05/0.2959, allocations: 138 kB / 1.019 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.2959, allocations: 8 kB / 1.019 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.2961, allocations: 378.7 kB / 1.019 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004815/0.2966, allocations: 217.2 kB / 1.019 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000563/0.2971, allocations: 380 kB / 1.02 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.2982, allocations: 0.5705 MB / 1.02 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.2982, allocations: 4 kB / 1.02 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001359/0.2995, allocations: 0.7305 MB / 1.021 GB, free: 128 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001487/0.2997, allocations: 228.9 kB / 1.021 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.2997, allocations: 4 kB / 1.021 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006262/0.3004, allocations: 148.7 kB / 1.021 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006808/0.301, allocations: 155.8 kB / 1.021 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007514/0.3018, allocations: 0.6265 MB / 1.022 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006811/0.3025, allocations: 107.3 kB / 1.022 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-05/0.3026, allocations: 31.98 kB / 1.022 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.3026, allocations: 8 kB / 1.022 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00129/0.3039, allocations: 0.6194 MB / 1.023 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3039, allocations: 4 kB / 1.023 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.3039, allocations: 8 kB / 1.023 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005939/0.3045, allocations: 167.8 kB / 1.023 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.3046, allocations: 8 kB / 1.023 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004808/0.305, allocations: 91.53 kB / 1.023 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.902e-05/0.3051, allocations: 31.88 kB / 1.023 GB, free: 13.81 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.000294/0.3054, allocations: 280.8 kB / 1.023 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.3055, allocations: 67.16 kB / 1.023 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/0.307, allocations: 0.6673 MB / 1.024 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.307, allocations: 4 kB / 1.024 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3071, allocations: 4 kB / 1.024 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.3071, allocations: 4.031 kB / 1.024 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002408/0.3095, allocations: 1.416 MB / 1.026 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.3095, allocations: 0 / 1.026 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003497/0.3099, allocations: 87.89 kB / 1.026 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003813/0.3102, allocations: 124.8 kB / 1.026 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.285e-05/0.3103, allocations: 15.98 kB / 1.026 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005987/0.3109, allocations: 0.6343 MB / 1.026 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.3109, allocations: 4.031 kB / 1.026 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.3122, allocations: 0.7166 MB / 1.027 GB, free: 9.648 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002253/0.3124, allocations: 208 kB / 1.027 GB, free: 9.426 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.388e-05/0.3125, allocations: 8 kB / 1.027 GB, free: 9.418 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004076/0.3129, allocations: 55.86 kB / 1.027 GB, free: 9.363 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.652e-05/0.313, allocations: 35.95 kB / 1.027 GB, free: 9.328 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.598e-05/0.313, allocations: 19.98 kB / 1.027 GB, free: 9.309 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004583/0.3135, allocations: 391.1 kB / 1.028 GB, free: 8.934 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.71e-07/0.3135, allocations: 0 / 1.028 GB, free: 8.934 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001227/0.3147, allocations: 383.4 kB / 1.028 GB, free: 8.559 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.0006765/0.3154, allocations: 291.3 kB / 1.028 GB, free: 8.273 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002055/0.3175, allocations: 0.9136 MB / 1.029 GB, free: 7.363 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.3175, allocations: 4 kB / 1.029 GB, free: 7.359 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000703/0.3182, allocations: 303.8 kB / 1.03 GB, free: 7.062 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/0.3199, allocations: 275.2 kB / 1.03 GB, free: 6.797 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.3221, allocations: 1.27 MB / 1.031 GB, free: 5.488 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005451/0.3226, allocations: 0.9155 MB / 1.032 GB, free: 4.547 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006854/0.3233, allocations: 154.6 kB / 1.032 GB, free: 4.402 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.3235, allocations: 59.42 kB / 1.032 GB, free: 4.344 MB / 0.6511 GB Notification: Performance of SimCode: time 8.82e-07/0.3235, allocations: 3.938 kB / 1.032 GB, free: 4.34 MB / 0.6511 GB Notification: Performance of Templates: time 0.02158/0.3451, allocations: 11.85 MB / 1.044 GB, free: 8.621 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)