Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.382/1.382, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 174.1 kB / 326.5 MB, free: 2.66 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.73/1.73, allocations: 205 MB / 0.5766 GB, free: 20.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007769/0.0007765, allocations: 82.34 kB / 0.6803 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000331/0.0003308, allocations: 12.34 kB / 0.7938 GB, free: 136 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2323, allocations: 105.4 MB / 0.8967 GB, free: 67.62 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01453/0.2468, allocations: 19.27 MB / 0.9156 GB, free: 48.28 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01017/0.2571, allocations: 8.513 MB / 0.9239 GB, free: 39.75 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009391/0.258, allocations: 19.81 kB / 0.9239 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007481/0.2588, allocations: 210.6 kB / 0.9241 GB, free: 39.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001808/0.2606, allocations: 0.6996 MB / 0.9248 GB, free: 38.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001827/0.2625, allocations: 0.7952 MB / 0.9256 GB, free: 38.03 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001627/0.2641, allocations: 1.923 MB / 0.9274 GB, free: 36.1 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004938/0.2646, allocations: 425.3 kB / 0.9278 GB, free: 35.67 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007794/0.2654, allocations: 0.56 MB / 0.9284 GB, free: 35.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004807/0.2659, allocations: 0.5095 MB / 0.9289 GB, free: 34.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.628e-05/0.2659, allocations: 28 kB / 0.9289 GB, free: 34.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.267, allocations: 0.6588 MB / 0.9295 GB, free: 33.91 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.2672, allocations: 139.4 kB / 0.9297 GB, free: 33.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002499/0.2674, allocations: 338 kB / 0.93 GB, free: 33.44 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006941/0.2681, allocations: 0.756 MB / 0.9307 GB, free: 32.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2681, allocations: 0 / 0.9307 GB, free: 32.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2682, allocations: 0 / 0.9307 GB, free: 32.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.2682, allocations: 0 / 0.9307 GB, free: 32.68 MB / 0.6042 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.001447/0.2696, allocations: 0.989 MB / 0.9317 GB, free: 31.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.2697, allocations: 12.03 kB / 0.9317 GB, free: 31.62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.2698, allocations: 80 kB / 0.9318 GB, free: 31.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005423/0.2704, allocations: 0.4987 MB / 0.9323 GB, free: 31.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.2704, allocations: 37 kB / 0.9323 GB, free: 30.97 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.813e-05/0.2705, allocations: 52 kB / 0.9324 GB, free: 30.92 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008602/0.2713, allocations: 0.6372 MB / 0.933 GB, free: 30.22 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.2714, allocations: 8 kB / 0.933 GB, free: 30.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.823e-05/0.2714, allocations: 16 kB / 0.933 GB, free: 30.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.2714, allocations: 15.98 kB / 0.933 GB, free: 30.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000917/0.2723, allocations: 0.515 MB / 0.9335 GB, free: 29.66 MB / 0.6042 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.002919/0.2753, allocations: 3.205 MB / 0.9367 GB, free: 26.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006315/0.2759, allocations: 358.5 kB / 0.937 GB, free: 25.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004081/0.2763, allocations: 242 kB / 0.9372 GB, free: 25.67 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000282/0.2766, allocations: 352.4 kB / 0.9376 GB, free: 25.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.2767, allocations: 34.56 kB / 0.9376 GB, free: 25.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=38): time 1.903e-06/0.2767, allocations: 0 / 0.9376 GB, free: 25.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=38): time 0.001902/0.2786, allocations: 0.8766 MB / 0.9385 GB, free: 24.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.2786, allocations: 55.41 kB / 0.9385 GB, free: 24.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004934/0.2791, allocations: 0.5743 MB / 0.9391 GB, free: 23.65 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.2792, allocations: 33.7 kB / 0.9391 GB, free: 23.61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.2793, allocations: 328.5 kB / 0.9394 GB, free: 23.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.389e-05/0.2794, allocations: 134 kB / 0.9395 GB, free: 23.15 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-05/0.2795, allocations: 57.69 kB / 0.9396 GB, free: 23.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.32e-05/0.2796, allocations: 378.7 kB / 0.94 GB, free: 22.71 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004457/0.28, allocations: 229.2 kB / 0.9402 GB, free: 22.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004969/0.2805, allocations: 380 kB / 0.9405 GB, free: 22.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008912/0.2814, allocations: 0.5979 MB / 0.9411 GB, free: 21.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.2814, allocations: 0 / 0.9411 GB, free: 21.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001264/0.2827, allocations: 0.7457 MB / 0.9419 GB, free: 20.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.219e-05/0.2828, allocations: 215.6 kB / 0.9421 GB, free: 20.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.2828, allocations: 8 kB / 0.9421 GB, free: 20.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005875/0.2834, allocations: 156.7 kB / 0.9422 GB, free: 20.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005212/0.284, allocations: 143.9 kB / 0.9424 GB, free: 20.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004443/0.2844, allocations: 0.6264 MB / 0.943 GB, free: 19.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005461/0.285, allocations: 111.2 kB / 0.9431 GB, free: 19.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.305e-05/0.285, allocations: 31.98 kB / 0.9431 GB, free: 19.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.115e-06/0.285, allocations: 4 kB / 0.9431 GB, free: 19.27 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001061/0.2861, allocations: 0.6268 MB / 0.9437 GB, free: 18.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.2861, allocations: 7.938 kB / 0.9437 GB, free: 18.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.121e-06/0.2861, allocations: 8 kB / 0.9437 GB, free: 18.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000528/0.2867, allocations: 164.2 kB / 0.9439 GB, free: 18.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.2867, allocations: 12 kB / 0.9439 GB, free: 18.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004748/0.2872, allocations: 83.55 kB / 0.944 GB, free: 18.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.382e-05/0.2872, allocations: 35.92 kB / 0.944 GB, free: 18.33 MB / 0.6042 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.0002435/0.2875, allocations: 276.8 kB / 0.9443 GB, free: 18.05 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.23e-05/0.2876, allocations: 59.25 kB / 0.9443 GB, free: 17.99 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/0.2889, allocations: 0.6626 MB / 0.945 GB, free: 17.31 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.2889, allocations: 15.98 kB / 0.945 GB, free: 17.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.2889, allocations: 0 / 0.945 GB, free: 17.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.2889, allocations: 3.938 kB / 0.945 GB, free: 17.29 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002033/0.2909, allocations: 1.389 MB / 0.9464 GB, free: 15.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.291, allocations: 0 / 0.9464 GB, free: 15.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003182/0.2913, allocations: 99.97 kB / 0.9465 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003651/0.2917, allocations: 128.8 kB / 0.9466 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.912e-05/0.2917, allocations: 23.98 kB / 0.9466 GB, free: 15.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004764/0.2922, allocations: 0.6342 MB / 0.9472 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2922, allocations: 0 / 0.9472 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.2933, allocations: 0.732 MB / 0.9479 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/0.2935, allocations: 196 kB / 0.9481 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.304e-05/0.2936, allocations: 12 kB / 0.9481 GB, free: 13.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004034/0.294, allocations: 47.95 kB / 0.9482 GB, free: 13.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.484e-05/0.2941, allocations: 31.95 kB / 0.9482 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.259e-05/0.2941, allocations: 19.98 kB / 0.9482 GB, free: 13.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003484/0.2945, allocations: 395.1 kB / 0.9486 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2945, allocations: 0 / 0.9486 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00106/0.2956, allocations: 387.4 kB / 0.949 GB, free: 13.09 MB / 0.6042 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.000638/0.2962, allocations: 308.1 kB / 0.9493 GB, free: 12.79 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001691/0.2979, allocations: 0.9019 MB / 0.9501 GB, free: 11.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.2979, allocations: 0 / 0.9501 GB, free: 11.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005955/0.2985, allocations: 299.9 kB / 0.9504 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.3, allocations: 274.3 kB / 0.9507 GB, free: 11.33 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.3017, allocations: 1.341 MB / 0.952 GB, free: 9.941 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.3021, allocations: 0.9116 MB / 0.9529 GB, free: 9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.3023, allocations: 63.42 kB / 0.953 GB, free: 8.938 MB / 0.6042 GB Notification: Performance of SimCode: time 4.01e-07/0.3023, allocations: 0 / 0.953 GB, free: 8.938 MB / 0.6042 GB Notification: Performance of Templates: time 0.01549/0.3178, allocations: 12.95 MB / 0.9656 GB, free: 12.08 MB / 0.6198 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)