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 3.153/3.153, allocations: 287.3 MB / 302.3 MB, free: 8.297 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.001501/0.001501, allocations: 170.3 kB / 370.8 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.174/2.174, allocations: 205.4 MB / 0.6295 GB, free: 10.55 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.001194/0.001194, allocations: 100 kB / 0.7428 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004923/0.0004925, allocations: 11.8 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2509, allocations: 115.3 MB / 0.9782 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02243/0.2733, allocations: 16.52 MB / 0.9943 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01441/0.2878, allocations: 7.318 MB / 1.001 GB, free: 4.461 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.2889, allocations: 19.81 kB / 1.001 GB, free: 4.441 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00157/0.2905, allocations: 374.2 kB / 1.002 GB, free: 4.074 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003383/0.2939, allocations: 0.7945 MB / 1.003 GB, free: 3.277 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00831/0.3022, allocations: 2.181 MB / 1.005 GB, free: 1.121 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002175/0.3044, allocations: 0.9503 MB / 1.006 GB, free: 172 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009421/0.3054, allocations: 411.2 kB / 1.006 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001416/0.3068, allocations: 0.4983 MB / 1.007 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008468/0.3077, allocations: 402.3 kB / 1.007 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.3079, allocations: 28 kB / 1.007 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001977/0.3099, allocations: 0.6396 MB / 1.008 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002489/0.3101, allocations: 119.5 kB / 1.008 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000292/0.3104, allocations: 153.3 kB / 1.008 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001676/0.3121, allocations: 0.7443 MB / 1.009 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3122, allocations: 0 / 1.009 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.655e-06/0.3122, allocations: 4 kB / 1.009 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.318e-05/0.3122, allocations: 0 / 1.009 GB, free: 13.17 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.002854/0.3151, allocations: 0.985 MB / 1.01 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.3151, allocations: 12.03 kB / 1.01 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002236/0.3154, allocations: 87.06 kB / 1.01 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.3165, allocations: 486.6 kB / 1.01 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.837e-05/0.3166, allocations: 33 kB / 1.01 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.3167, allocations: 51.98 kB / 1.01 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/0.3185, allocations: 0.6449 MB / 1.011 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/0.3186, allocations: 3.938 kB / 1.011 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.922e-05/0.3186, allocations: 16 kB / 1.011 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.3187, allocations: 12 kB / 1.011 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/0.3206, allocations: 0.5151 MB / 1.011 GB, free: 10.18 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.005655/0.3263, allocations: 3.182 MB / 1.014 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.3276, allocations: 362.8 kB / 1.015 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004631/0.3281, allocations: 344.4 kB / 1.015 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/0.3282, allocations: 38.56 kB / 1.015 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=38): time 3.276e-06/0.3282, allocations: 0 / 1.015 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=38): time 0.00392/0.3321, allocations: 0.8658 MB / 1.016 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.3322, allocations: 55.41 kB / 1.016 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.3332, allocations: 0.5782 MB / 1.017 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001363/0.3334, allocations: 37.7 kB / 1.017 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003326/0.3337, allocations: 328.3 kB / 1.017 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.3339, allocations: 134.2 kB / 1.017 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.036e-05/0.334, allocations: 12 kB / 1.017 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.3342, allocations: 370.8 kB / 1.017 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008976/0.3351, allocations: 217.2 kB / 1.018 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.3361, allocations: 376 kB / 1.018 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009862/0.3371, allocations: 256.7 kB / 1.018 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.3371, allocations: 0 / 1.018 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002614/0.3398, allocations: 0.7261 MB / 1.019 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007522/0.3406, allocations: 1.752 MB / 1.021 GB, free: 36 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.3406, allocations: 8 kB / 1.021 GB, free: 28 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.3417, allocations: 148.9 kB / 1.021 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.343, allocations: 155.7 kB / 1.021 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/0.3441, allocations: 0.6343 MB / 1.022 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.3454, allocations: 107.3 kB / 1.022 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.3455, allocations: 27.98 kB / 1.022 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3456, allocations: 4 kB / 1.022 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002353/0.3479, allocations: 0.6189 MB / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.348, allocations: 4 kB / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.348, allocations: 8 kB / 1.022 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.3492, allocations: 172.3 kB / 1.023 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.706e-05/0.3493, allocations: 8 kB / 1.023 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.3504, allocations: 91.47 kB / 1.023 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.613e-05/0.3505, allocations: 31.98 kB / 1.023 GB, free: 14 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.0004766/0.351, allocations: 274 kB / 1.023 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.3511, allocations: 59.25 kB / 1.023 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002615/0.3537, allocations: 0.6774 MB / 1.024 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/0.3538, allocations: 4 kB / 1.024 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.3538, allocations: 0 / 1.024 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.3539, allocations: 3.984 kB / 1.024 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004336/0.3582, allocations: 1.404 MB / 1.025 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.3583, allocations: 0 / 1.025 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007107/0.359, allocations: 99.92 kB / 1.025 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007254/0.3597, allocations: 128.8 kB / 1.025 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.098e-05/0.3598, allocations: 11.98 kB / 1.025 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001034/0.3608, allocations: 0.6382 MB / 1.026 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.3609, allocations: 0 / 1.026 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002544/0.3634, allocations: 0.7528 MB / 1.027 GB, free: 9.785 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000492/0.364, allocations: 204 kB / 1.027 GB, free: 9.566 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.3641, allocations: 8 kB / 1.027 GB, free: 9.559 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008245/0.365, allocations: 55.94 kB / 1.027 GB, free: 9.504 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.3651, allocations: 35.89 kB / 1.027 GB, free: 9.469 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.844e-05/0.3652, allocations: 16 kB / 1.027 GB, free: 9.453 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007846/0.366, allocations: 395.1 kB / 1.027 GB, free: 9.074 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.325e-06/0.366, allocations: 0 / 1.027 GB, free: 9.074 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001749/0.3678, allocations: 395.3 kB / 1.028 GB, free: 8.688 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.001012/0.3688, allocations: 290.6 kB / 1.028 GB, free: 8.406 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003742/0.3726, allocations: 0.9105 MB / 1.029 GB, free: 7.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.3726, allocations: 7.938 kB / 1.029 GB, free: 7.492 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001362/0.374, allocations: 307.8 kB / 1.029 GB, free: 7.191 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002586/0.3766, allocations: 258.1 kB / 1.029 GB, free: 6.941 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003115/0.3798, allocations: 1.286 MB / 1.031 GB, free: 5.617 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006269/0.3805, allocations: 0.9233 MB / 1.032 GB, free: 4.668 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001129/0.3816, allocations: 155.9 kB / 1.032 GB, free: 4.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002789/0.3819, allocations: 55.42 kB / 1.032 GB, free: 4.465 MB / 0.6511 GB Notification: Performance of SimCode: time 1.453e-06/0.3819, allocations: 4 kB / 1.032 GB, free: 4.461 MB / 0.6511 GB Notification: Performance of Templates: time 0.0355/0.4174, allocations: 11.83 MB / 1.043 GB, free: 8.762 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)