Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008622/0.0008621, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009817/0.0009816, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.551/1.551, allocations: 205.4 MB / 222.1 MB, free: 5.48 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.755/1.755, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005446/0.0005447, allocations: 15.94 kB / 0.6737 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2354, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01799/0.2534, allocations: 17.99 MB / 0.8048 GB, free: 9.887 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01061/0.2641, allocations: 7.722 MB / 0.8124 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007896/0.2649, allocations: 27.75 kB / 0.8124 GB, free: 2.125 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006109/0.2655, allocations: 182.7 kB / 0.8126 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001615/0.2672, allocations: 0.6168 MB / 0.8132 GB, free: 1.328 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001818/0.269, allocations: 0.7391 MB / 0.8139 GB, free: 0.5938 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00174/0.2708, allocations: 1.684 MB / 0.8156 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006971/0.2715, allocations: 411.2 kB / 0.8159 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001305/0.2728, allocations: 0.529 MB / 0.8165 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007621/0.2735, allocations: 493.9 kB / 0.8169 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 7.357e-05/0.2736, allocations: 31.98 kB / 0.817 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.275, allocations: 0.5925 MB / 0.8175 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.2752, allocations: 127.4 kB / 0.8177 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002398/0.2755, allocations: 153.3 kB / 0.8178 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000928/0.2764, allocations: 0.7404 MB / 0.8185 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2764, allocations: 0 / 0.8185 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2764, allocations: 3.938 kB / 0.8185 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.2764, allocations: 0 / 0.8185 GB, free: 11.82 MB / 0.6387 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.001863/0.2783, allocations: 0.985 MB / 0.8195 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.2784, allocations: 12.03 kB / 0.8195 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.2785, allocations: 83.05 kB / 0.8196 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007149/0.2792, allocations: 490.5 kB / 0.8201 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.835e-05/0.2793, allocations: 37 kB / 0.8201 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.898e-05/0.2794, allocations: 48 kB / 0.8201 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.2804, allocations: 0.6411 MB / 0.8208 GB, free: 9.375 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.2804, allocations: 4 kB / 0.8208 GB, free: 9.371 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.761e-05/0.2805, allocations: 16 kB / 0.8208 GB, free: 9.355 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.2805, allocations: 12 kB / 0.8208 GB, free: 9.344 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009958/0.2815, allocations: 0.519 MB / 0.8213 GB, free: 8.828 MB / 0.6387 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.00313/0.2847, allocations: 3.185 MB / 0.8244 GB, free: 5.445 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006195/0.2853, allocations: 361.2 kB / 0.8248 GB, free: 5.086 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004291/0.2857, allocations: 244.8 kB / 0.825 GB, free: 4.844 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003579/0.2861, allocations: 348.4 kB / 0.8253 GB, free: 4.43 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.2861, allocations: 34.56 kB / 0.8254 GB, free: 4.387 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=38): time 1.894e-06/0.2862, allocations: 0 / 0.8254 GB, free: 4.387 MB / 0.6387 GB Notification: Performance of matching and sorting (n=38): time 0.00195/0.2881, allocations: 0.8649 MB / 0.8262 GB, free: 3.492 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.2882, allocations: 55.41 kB / 0.8263 GB, free: 3.426 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005817/0.2887, allocations: 0.5821 MB / 0.8268 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.2888, allocations: 41.64 kB / 0.8269 GB, free: 2.789 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/0.289, allocations: 328.4 kB / 0.8272 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.2891, allocations: 122.2 kB / 0.8273 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/0.2892, allocations: 16 kB / 0.8273 GB, free: 2.328 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.2893, allocations: 366.8 kB / 0.8277 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004431/0.2898, allocations: 221.2 kB / 0.8279 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005312/0.2903, allocations: 372 kB / 0.8282 GB, free: 1.32 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004879/0.2908, allocations: 252.7 kB / 0.8285 GB, free: 1.074 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.2908, allocations: 4 kB / 0.8285 GB, free: 1.07 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001292/0.2921, allocations: 0.7381 MB / 0.8292 GB, free: 328 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001504/0.2923, allocations: 231.2 kB / 0.8294 GB, free: 32 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.2923, allocations: 4.094 kB / 0.8294 GB, free: 28 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005858/0.2929, allocations: 148.7 kB / 0.8296 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006055/0.2935, allocations: 155.8 kB / 0.8297 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006228/0.2942, allocations: 0.6304 MB / 0.8303 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005582/0.2947, allocations: 107.3 kB / 0.8304 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.96e-05/0.2948, allocations: 31.98 kB / 0.8304 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.423e-06/0.2948, allocations: 8 kB / 0.8305 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001167/0.296, allocations: 0.6194 MB / 0.8311 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.296, allocations: 7.953 kB / 0.8311 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.296, allocations: 8 kB / 0.8311 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005419/0.2966, allocations: 159.8 kB / 0.8312 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.2966, allocations: 11.94 kB / 0.8312 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004398/0.297, allocations: 91.59 kB / 0.8313 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-05/0.2971, allocations: 39.98 kB / 0.8314 GB, free: 13.99 MB / 0.6544 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.0002678/0.2974, allocations: 269.6 kB / 0.8316 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.406e-05/0.2975, allocations: 59.25 kB / 0.8317 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.2988, allocations: 0.6775 MB / 0.8323 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.2988, allocations: 4 kB / 0.8323 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2988, allocations: 0 / 0.8323 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.2988, allocations: 0 / 0.8323 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002301/0.3012, allocations: 1.401 MB / 0.8337 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3012, allocations: 0 / 0.8337 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003241/0.3015, allocations: 91.89 kB / 0.8338 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003542/0.3019, allocations: 128.8 kB / 0.8339 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-05/0.3019, allocations: 19.98 kB / 0.8339 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005294/0.3025, allocations: 0.6342 MB / 0.8346 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3025, allocations: 3.984 kB / 0.8346 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.3037, allocations: 0.7244 MB / 0.8353 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002136/0.3039, allocations: 200 kB / 0.8355 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.016e-05/0.304, allocations: 12 kB / 0.8355 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003792/0.3043, allocations: 51.95 kB / 0.8355 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.84e-05/0.3044, allocations: 35.89 kB / 0.8356 GB, free: 9.523 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-05/0.3045, allocations: 23.98 kB / 0.8356 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004254/0.3049, allocations: 387.1 kB / 0.8359 GB, free: 9.129 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3049, allocations: 4 kB / 0.836 GB, free: 9.125 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001039/0.306, allocations: 379.5 kB / 0.8363 GB, free: 8.754 MB / 0.6544 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.0006364/0.3066, allocations: 307.1 kB / 0.8366 GB, free: 8.457 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001838/0.3084, allocations: 0.9175 MB / 0.8375 GB, free: 7.543 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.3085, allocations: 4 kB / 0.8375 GB, free: 7.539 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000645/0.3091, allocations: 296.2 kB / 0.8378 GB, free: 7.25 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.3105, allocations: 286.7 kB / 0.8381 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.3125, allocations: 1.277 MB / 0.8393 GB, free: 5.664 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004604/0.313, allocations: 0.9116 MB / 0.8402 GB, free: 4.727 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005739/0.3135, allocations: 152.9 kB / 0.8403 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.3137, allocations: 59.42 kB / 0.8404 GB, free: 4.523 MB / 0.6544 GB Notification: Performance of SimCode: time 3.51e-07/0.3137, allocations: 0 / 0.8404 GB, free: 4.523 MB / 0.6544 GB Notification: Performance of Templates: time 0.01912/0.3328, allocations: 11.83 MB / 0.852 GB, free: 8.852 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1) Environment - environmentSimulation: