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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.814/1.814, allocations: 292.3 MB / 308.1 MB, free: 4.262 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.001426/0.001426, allocations: 196.2 kB / 376.9 MB, free: 1.781 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.668/1.668, allocations: 205 MB / 0.6354 GB, free: 9.758 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 100 kB / 0.748 GB, free: 61.39 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00104/0.001041, allocations: 59.91 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.297, allocations: 114.6 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02399/0.321, allocations: 19.57 MB / 1.001 GB, free: 6.715 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01382/0.3349, allocations: 8.534 MB / 1.01 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001628/0.3366, allocations: 19.81 kB / 1.01 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0009312/0.3376, allocations: 222.7 kB / 1.01 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.00221/0.3398, allocations: 0.7035 MB / 1.011 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002282/0.3421, allocations: 0.7915 MB / 1.011 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.002104/0.3442, allocations: 1.939 MB / 1.013 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005773/0.3448, allocations: 437.4 kB / 1.014 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008564/0.3457, allocations: 0.5757 MB / 1.014 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006338/0.3463, allocations: 0.5212 MB / 1.015 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.622e-05/0.3464, allocations: 32 kB / 1.015 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.3477, allocations: 0.6627 MB / 1.015 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.3478, allocations: 143.3 kB / 1.016 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003163/0.3482, allocations: 354 kB / 1.016 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.3493, allocations: 1.043 MB / 1.017 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3493, allocations: 0 / 1.017 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.21e-07/0.3493, allocations: 0 / 1.017 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.3494, allocations: 0 / 1.017 GB, free: 6.707 MB / 0.7448 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.001904/0.3513, allocations: 1.102 MB / 1.018 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.3513, allocations: 8.031 kB / 1.018 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.3515, allocations: 83.91 kB / 1.018 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006923/0.3522, allocations: 0.5027 MB / 1.019 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.708e-05/0.3522, allocations: 40.94 kB / 1.019 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-05/0.3523, allocations: 48 kB / 1.019 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009775/0.3533, allocations: 0.6216 MB / 1.019 GB, free: 4.148 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.3533, allocations: 7.938 kB / 1.019 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.31e-05/0.3534, allocations: 16 kB / 1.019 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.3534, allocations: 12 kB / 1.019 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.3544, allocations: 495.4 kB / 1.02 GB, free: 3.629 MB / 0.7448 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.003286/0.3577, allocations: 3.181 MB / 1.023 GB, free: 256 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5124/0.8701, allocations: 344.9 kB / 1.023 GB, free: 100.9 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008298/0.871, allocations: 225.8 kB / 1.023 GB, free: 100.9 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000582/0.8716, allocations: 349.3 kB / 1.024 GB, free: 100.5 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.8717, allocations: 36.94 kB / 1.024 GB, free: 100.5 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=38): time 4.358e-06/0.8717, allocations: 0 / 1.024 GB, free: 100.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=38): time 0.002753/0.8745, allocations: 0.8045 MB / 1.025 GB, free: 100.3 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.8745, allocations: 57.5 kB / 1.025 GB, free: 100.3 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009329/0.8755, allocations: 0.5786 MB / 1.025 GB, free: 100.1 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.715e-05/0.8755, allocations: 34.14 kB / 1.025 GB, free: 100.1 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002803/0.8758, allocations: 330.7 kB / 1.026 GB, free: 100 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.8759, allocations: 133.7 kB / 1.026 GB, free: 99.96 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002585/0.8762, allocations: 127.3 kB / 1.026 GB, free: 99.94 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.8764, allocations: 378.6 kB / 1.026 GB, free: 99.62 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005496/0.8769, allocations: 217.3 kB / 1.026 GB, free: 99.61 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006102/0.8776, allocations: 376.6 kB / 1.027 GB, free: 99.45 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.8786, allocations: 0.5663 MB / 1.027 GB, free: 99.29 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.8786, allocations: 1.062 kB / 1.027 GB, free: 99.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001401/0.88, allocations: 0.7187 MB / 1.028 GB, free: 99.21 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.88, allocations: 8.688 kB / 1.028 GB, free: 99.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.88, allocations: 2.875 kB / 1.028 GB, free: 99.21 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006372/0.8807, allocations: 136 kB / 1.028 GB, free: 99.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005227/0.8812, allocations: 140.9 kB / 1.028 GB, free: 99.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005006/0.8817, allocations: 0.6187 MB / 1.029 GB, free: 98.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006043/0.8824, allocations: 93.73 kB / 1.029 GB, free: 98.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.56e-05/0.8824, allocations: 33.47 kB / 1.029 GB, free: 98.66 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006194/0.8831, allocations: 349.5 kB / 1.029 GB, free: 98.58 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005708/0.8836, allocations: 365.2 kB / 1.03 GB, free: 98.41 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001044/0.8847, allocations: 0.56 MB / 1.03 GB, free: 98.25 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.236e-06/0.8847, allocations: 1.562 kB / 1.03 GB, free: 98.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001303/0.886, allocations: 0.6768 MB / 1.031 GB, free: 98.17 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.886, allocations: 7.938 kB / 1.031 GB, free: 98.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.8861, allocations: 5.812 kB / 1.031 GB, free: 98.17 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.8861, allocations: 13.98 kB / 1.031 GB, free: 98.17 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005687/0.8866, allocations: 152.5 kB / 1.031 GB, free: 98.17 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.8867, allocations: 13.34 kB / 1.031 GB, free: 98.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005402/0.8872, allocations: 84.28 kB / 1.031 GB, free: 98.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.897e-05/0.8873, allocations: 31.2 kB / 1.031 GB, free: 98.14 MB / 0.7448 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001883/0.8875, allocations: 219.4 kB / 1.031 GB, free: 97.96 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.194e-05/0.8876, allocations: 59.19 kB / 1.031 GB, free: 97.93 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/0.8891, allocations: 0.649 MB / 1.032 GB, free: 97.86 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.8891, allocations: 10.42 kB / 1.032 GB, free: 97.86 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.8891, allocations: 0 / 1.032 GB, free: 97.86 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.8891, allocations: 1.406 kB / 1.032 GB, free: 97.86 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00282/0.8919, allocations: 1.363 MB / 1.033 GB, free: 97.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.892, allocations: 1.688 kB / 1.033 GB, free: 97.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003766/0.8923, allocations: 86.78 kB / 1.033 GB, free: 97.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004532/0.8928, allocations: 107.8 kB / 1.034 GB, free: 97.49 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.902e-05/0.8929, allocations: 19.58 kB / 1.034 GB, free: 97.49 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005791/0.8935, allocations: 0.6276 MB / 1.034 GB, free: 96.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.8935, allocations: 2.828 kB / 1.034 GB, free: 96.96 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002425/0.8959, allocations: 1.602 MB / 1.036 GB, free: 96.16 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002707/0.8962, allocations: 193.7 kB / 1.036 GB, free: 96.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.869e-05/0.8963, allocations: 13.97 kB / 1.036 GB, free: 96.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004738/0.8968, allocations: 47.2 kB / 1.036 GB, free: 96.02 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.8969, allocations: 33.98 kB / 1.036 GB, free: 96.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.722e-05/0.897, allocations: 21.09 kB / 1.036 GB, free: 96.02 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0006428/0.8976, allocations: 399 kB / 1.036 GB, free: 95.93 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.21e-07/0.8976, allocations: 0.9375 kB / 1.036 GB, free: 95.93 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002196/0.8998, allocations: 392.5 kB / 1.037 GB, free: 95.89 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001003/0.9008, allocations: 295.5 kB / 1.037 GB, free: 95.8 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003265/0.9041, allocations: 0.8651 MB / 1.038 GB, free: 95.78 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.9041, allocations: 1.344 kB / 1.038 GB, free: 95.78 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0009314/0.9051, allocations: 286.2 kB / 1.038 GB, free: 95.77 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002082/0.9072, allocations: 271.2 kB / 1.039 GB, free: 95.76 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003315/0.9105, allocations: 1.569 MB / 1.04 GB, free: 94.88 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006834/0.9112, allocations: 0.9259 MB / 1.041 GB, free: 94.16 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0008805/0.9121, allocations: 149.5 kB / 1.041 GB, free: 94.14 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/0.9123, allocations: 65.77 kB / 1.041 GB, free: 94.14 MB / 0.7448 GB Notification: Performance of SimCode: time 1.062e-06/0.9123, allocations: 0 / 1.041 GB, free: 94.14 MB / 0.7448 GB Notification: Performance of Templates: time 0.02719/0.9395, allocations: 12.77 MB / 1.054 GB, free: 93.28 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (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)