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.368/1.368, allocations: 252 MB / 268 MB, free: 10.86 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.001052/0.001053, allocations: 178.4 kB / 327.6 MB, free: 2.105 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.703/1.703, allocations: 205.4 MB / 0.5786 GB, free: 20.18 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.0006971/0.0006973, allocations: 100 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003371, allocations: 12.12 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1924, allocations: 106.3 MB / 0.9015 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.0143/0.2067, allocations: 18.99 MB / 0.92 GB, free: 44.45 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.009811/0.2166, allocations: 8.409 MB / 0.9282 GB, free: 36.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008477/0.2174, allocations: 19.81 kB / 0.9282 GB, free: 36 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007055/0.2182, allocations: 218.7 kB / 0.9284 GB, free: 35.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001747/0.2199, allocations: 0.6996 MB / 0.9291 GB, free: 35.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001716/0.2216, allocations: 0.7845 MB / 0.9299 GB, free: 34.31 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001532/0.2232, allocations: 1.931 MB / 0.9318 GB, free: 32.37 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004804/0.2237, allocations: 432.8 kB / 0.9322 GB, free: 31.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000742/0.2244, allocations: 0.56 MB / 0.9327 GB, free: 31.37 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004943/0.2249, allocations: 0.5173 MB / 0.9332 GB, free: 30.85 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.145e-05/0.225, allocations: 28 kB / 0.9333 GB, free: 30.82 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.226, allocations: 0.6549 MB / 0.9339 GB, free: 30.17 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.2262, allocations: 131.3 kB / 0.934 GB, free: 30.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002427/0.2264, allocations: 367.7 kB / 0.9344 GB, free: 29.67 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006175/0.227, allocations: 0.7482 MB / 0.9351 GB, free: 28.92 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.227, allocations: 0 / 0.9351 GB, free: 28.92 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2271, allocations: 0 / 0.9351 GB, free: 28.92 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.944e-06/0.2271, allocations: 0 / 0.9351 GB, free: 28.92 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.001482/0.2286, allocations: 0.9891 MB / 0.9361 GB, free: 27.88 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.2286, allocations: 8.031 kB / 0.9361 GB, free: 27.87 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.2287, allocations: 84 kB / 0.9362 GB, free: 27.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005506/0.2293, allocations: 0.5027 MB / 0.9367 GB, free: 27.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.2293, allocations: 41 kB / 0.9367 GB, free: 27.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.664e-05/0.2294, allocations: 48 kB / 0.9367 GB, free: 27.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008654/0.2302, allocations: 0.6333 MB / 0.9374 GB, free: 26.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.2303, allocations: 7.875 kB / 0.9374 GB, free: 26.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.187e-05/0.2303, allocations: 24 kB / 0.9374 GB, free: 26.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.2303, allocations: 12 kB / 0.9374 GB, free: 26.42 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000915/0.2313, allocations: 0.5151 MB / 0.9379 GB, free: 25.9 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.002565/0.2338, allocations: 3.193 MB / 0.941 GB, free: 22.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006196/0.2345, allocations: 362.5 kB / 0.9414 GB, free: 22.15 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004272/0.2349, allocations: 242.7 kB / 0.9416 GB, free: 21.91 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000278/0.2352, allocations: 344.4 kB / 0.9419 GB, free: 21.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.2352, allocations: 38.56 kB / 0.942 GB, free: 21.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=38): time 1.923e-06/0.2352, allocations: 0 / 0.942 GB, free: 21.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=38): time 0.001976/0.2372, allocations: 0.8688 MB / 0.9428 GB, free: 20.56 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.2372, allocations: 59.41 kB / 0.9429 GB, free: 20.49 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005051/0.2378, allocations: 0.5821 MB / 0.9434 GB, free: 19.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.2378, allocations: 37.7 kB / 0.9435 GB, free: 19.85 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.238, allocations: 324.5 kB / 0.9438 GB, free: 19.53 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.149e-05/0.238, allocations: 138 kB / 0.9439 GB, free: 19.39 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.2381, allocations: 8 kB / 0.9439 GB, free: 19.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.872e-05/0.2382, allocations: 378.7 kB / 0.9443 GB, free: 19.01 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004354/0.2386, allocations: 225.2 kB / 0.9445 GB, free: 18.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004919/0.2391, allocations: 385.7 kB / 0.9449 GB, free: 18.35 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009205/0.24, allocations: 0.59 MB / 0.9454 GB, free: 17.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.24, allocations: 0 / 0.9454 GB, free: 17.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00127/0.2413, allocations: 0.75 MB / 0.9462 GB, free: 16.94 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.944e-05/0.2414, allocations: 217.8 kB / 0.9464 GB, free: 16.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.2414, allocations: 7.938 kB / 0.9464 GB, free: 16.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006035/0.242, allocations: 164.8 kB / 0.9465 GB, free: 16.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005127/0.2426, allocations: 151.7 kB / 0.9467 GB, free: 16.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004267/0.243, allocations: 0.6186 MB / 0.9473 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005879/0.2436, allocations: 111.3 kB / 0.9474 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-05/0.2437, allocations: 31.98 kB / 0.9474 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.604e-06/0.2437, allocations: 4 kB / 0.9474 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001092/0.2448, allocations: 0.6189 MB / 0.948 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.2448, allocations: 8.062 kB / 0.948 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.291e-06/0.2448, allocations: 8.562 kB / 0.9481 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005543/0.2454, allocations: 167.8 kB / 0.9482 GB, free: 14.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.2454, allocations: 11.94 kB / 0.9482 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000515/0.2459, allocations: 87.53 kB / 0.9483 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.451e-05/0.246, allocations: 31.94 kB / 0.9483 GB, free: 14.63 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.0002491/0.2462, allocations: 278.3 kB / 0.9486 GB, free: 14.35 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.933e-05/0.2463, allocations: 59.25 kB / 0.9487 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/0.2476, allocations: 0.6663 MB / 0.9493 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.2476, allocations: 12 kB / 0.9493 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.2476, allocations: 3.938 kB / 0.9493 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.2477, allocations: 3.938 kB / 0.9493 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002136/0.2498, allocations: 1.389 MB / 0.9507 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.2498, allocations: 4 kB / 0.9507 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003345/0.2502, allocations: 91.88 kB / 0.9508 GB, free: 12.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003834/0.2506, allocations: 136.8 kB / 0.9509 GB, free: 11.89 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.2506, allocations: 16 kB / 0.9509 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004764/0.2511, allocations: 0.6381 MB / 0.9516 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.2511, allocations: 4.031 kB / 0.9516 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.2522, allocations: 0.7241 MB / 0.9523 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002031/0.2525, allocations: 200 kB / 0.9525 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.734e-05/0.2525, allocations: 11.98 kB / 0.9525 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004247/0.253, allocations: 51.89 kB / 0.9525 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.077e-05/0.253, allocations: 31.95 kB / 0.9525 GB, free: 10.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.2531, allocations: 16 kB / 0.9526 GB, free: 10.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003461/0.2534, allocations: 407.1 kB / 0.9529 GB, free: 9.746 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.82e-07/0.2534, allocations: 3.938 kB / 0.953 GB, free: 9.742 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009385/0.2544, allocations: 387.3 kB / 0.9533 GB, free: 9.363 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.0005586/0.255, allocations: 302.4 kB / 0.9536 GB, free: 9.066 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001754/0.2567, allocations: 0.9015 MB / 0.9545 GB, free: 8.164 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.2567, allocations: 0 / 0.9545 GB, free: 8.164 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006225/0.2574, allocations: 296.3 kB / 0.9548 GB, free: 7.875 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.2589, allocations: 282.4 kB / 0.955 GB, free: 7.605 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.2606, allocations: 1.352 MB / 0.9564 GB, free: 6.211 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.2608, allocations: 0.9154 MB / 0.9573 GB, free: 5.266 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.261, allocations: 67.42 kB / 0.9573 GB, free: 5.199 MB / 0.6042 GB Notification: Performance of SimCode: time 1.583e-06/0.261, allocations: 0 / 0.9573 GB, free: 5.199 MB / 0.6042 GB Notification: Performance of Templates: time 0.0166/0.2776, allocations: 12.94 MB / 0.97 GB, free: 8.352 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)