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.389/1.389, 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.00103/0.00103, allocations: 174.4 kB / 326.5 MB, free: 2.684 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.645/1.645, allocations: 205 MB / 0.5766 GB, free: 21.02 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.0007735/0.0007735, allocations: 86.73 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.0003419, allocations: 11.94 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2037, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01327/0.217, allocations: 19.26 MB / 0.9156 GB, free: 48.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00975/0.2268, allocations: 8.505 MB / 0.9239 GB, free: 40.3 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008691/0.2277, allocations: 23.81 kB / 0.9239 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006807/0.2284, allocations: 218.7 kB / 0.9241 GB, free: 40.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001693/0.2301, allocations: 0.7035 MB / 0.9248 GB, free: 39.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0017/0.2318, allocations: 0.7842 MB / 0.9255 GB, free: 38.57 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001396/0.2332, allocations: 1.931 MB / 0.9274 GB, free: 36.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004322/0.2336, allocations: 429.3 kB / 0.9278 GB, free: 36.2 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006874/0.2343, allocations: 0.5561 MB / 0.9284 GB, free: 35.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004301/0.2348, allocations: 0.5134 MB / 0.9289 GB, free: 35.13 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.112e-05/0.2348, allocations: 28 kB / 0.9289 GB, free: 35.1 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009039/0.2358, allocations: 0.6588 MB / 0.9296 GB, free: 34.44 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.962e-05/0.2359, allocations: 127.4 kB / 0.9297 GB, free: 34.32 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002164/0.2361, allocations: 350 kB / 0.93 GB, free: 33.97 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000826/0.2369, allocations: 1.039 MB / 0.931 GB, free: 32.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.2369, allocations: 0 / 0.931 GB, free: 32.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2369, allocations: 0 / 0.931 GB, free: 32.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.237, allocations: 0 / 0.931 GB, free: 32.93 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.001466/0.2384, allocations: 0.9851 MB / 0.932 GB, free: 31.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.2385, allocations: 8.031 kB / 0.932 GB, free: 31.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.2386, allocations: 80 kB / 0.9321 GB, free: 31.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005333/0.2391, allocations: 0.4988 MB / 0.9326 GB, free: 31.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.2392, allocations: 41 kB / 0.9326 GB, free: 31.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.368e-05/0.2392, allocations: 52 kB / 0.9326 GB, free: 31.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008359/0.2401, allocations: 0.6294 MB / 0.9333 GB, free: 30.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.2401, allocations: 4 kB / 0.9333 GB, free: 30.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.154e-05/0.2402, allocations: 19.98 kB / 0.9333 GB, free: 30.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.2402, allocations: 12 kB / 0.9333 GB, free: 30.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000881/0.2411, allocations: 0.5151 MB / 0.9338 GB, free: 29.93 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.002447/0.2435, allocations: 3.205 MB / 0.9369 GB, free: 26.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005806/0.2441, allocations: 354.6 kB / 0.9373 GB, free: 26.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004069/0.2445, allocations: 253.6 kB / 0.9375 GB, free: 25.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002468/0.2448, allocations: 352.3 kB / 0.9378 GB, free: 25.51 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.2448, allocations: 34.56 kB / 0.9379 GB, free: 25.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=38): time 1.904e-06/0.2448, allocations: 0 / 0.9379 GB, free: 25.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=38): time 0.001832/0.2467, allocations: 0.8688 MB / 0.9387 GB, free: 24.57 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.801e-05/0.2467, allocations: 63.34 kB / 0.9388 GB, free: 24.49 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000461/0.2472, allocations: 0.586 MB / 0.9394 GB, free: 23.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.2472, allocations: 29.7 kB / 0.9394 GB, free: 23.86 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.2474, allocations: 324.5 kB / 0.9397 GB, free: 23.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.446e-05/0.2474, allocations: 130.1 kB / 0.9398 GB, free: 23.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.046e-05/0.2475, allocations: 57.69 kB / 0.9399 GB, free: 23.35 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.02e-05/0.2476, allocations: 378.7 kB / 0.9402 GB, free: 22.97 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004171/0.248, allocations: 225.2 kB / 0.9405 GB, free: 22.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004837/0.2485, allocations: 380 kB / 0.9408 GB, free: 22.32 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008875/0.2494, allocations: 0.6017 MB / 0.9414 GB, free: 21.65 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2494, allocations: 0 / 0.9414 GB, free: 21.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001225/0.2506, allocations: 0.7462 MB / 0.9421 GB, free: 20.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.645e-05/0.2507, allocations: 223.1 kB / 0.9423 GB, free: 20.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.2507, allocations: 4 kB / 0.9423 GB, free: 20.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005353/0.2513, allocations: 156.8 kB / 0.9425 GB, free: 20.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004757/0.2518, allocations: 147.8 kB / 0.9426 GB, free: 20.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004067/0.2522, allocations: 0.6225 MB / 0.9432 GB, free: 19.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005267/0.2527, allocations: 111.3 kB / 0.9434 GB, free: 19.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-05/0.2528, allocations: 31.98 kB / 0.9434 GB, free: 19.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.382e-06/0.2528, allocations: 6.5 kB / 0.9434 GB, free: 19.52 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001036/0.2538, allocations: 0.6228 MB / 0.944 GB, free: 18.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2538, allocations: 4 kB / 0.944 GB, free: 18.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.412e-06/0.2539, allocations: 12.55 kB / 0.944 GB, free: 18.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005209/0.2544, allocations: 163.7 kB / 0.9442 GB, free: 18.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.2544, allocations: 8 kB / 0.9442 GB, free: 18.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004389/0.2548, allocations: 91.47 kB / 0.9443 GB, free: 18.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.18e-05/0.2549, allocations: 35.98 kB / 0.9443 GB, free: 18.59 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.0002033/0.2551, allocations: 269.8 kB / 0.9446 GB, free: 18.31 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.374e-05/0.2552, allocations: 59.25 kB / 0.9446 GB, free: 18.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.2564, allocations: 0.6812 MB / 0.9453 GB, free: 17.56 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.2564, allocations: 4 kB / 0.9453 GB, free: 17.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.2564, allocations: 0 / 0.9453 GB, free: 17.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.2566, allocations: 196 kB / 0.9455 GB, free: 17.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.921e-05/0.2567, allocations: 8 kB / 0.9455 GB, free: 17.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003804/0.2571, allocations: 55.94 kB / 0.9455 GB, free: 17.28 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/0.2571, allocations: 28.33 kB / 0.9456 GB, free: 17.25 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001287/0.2584, allocations: 0.7084 MB / 0.9462 GB, free: 16.54 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001371/0.2598, allocations: 1.004 MB / 0.9472 GB, free: 15.52 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000394/0.2602, allocations: 245.5 kB / 0.9475 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003201/0.2605, allocations: 395.1 kB / 0.9478 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of Backend: time 6.91e-07/0.2606, allocations: 0 / 0.9478 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002042/0.2626, allocations: 0.9571 MB / 0.9488 GB, free: 13.94 MB / 0.6042 GB Notification: Performance of SimCode: time 0.002102/0.2647, allocations: 1.865 MB / 0.9506 GB, free: 12.03 MB / 0.6042 GB Notification: Performance of Templates: time 0.018/0.2827, allocations: 13.63 MB / 0.9639 GB, free: 14.56 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)