Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.737/2.737, allocations: 251.1 MB / 266.7 MB, free: 11.62 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.00133/0.001329, allocations: 173.6 kB / 326.3 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.391/2.391, allocations: 205.4 MB / 0.5772 GB, free: 20.75 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.0008728/0.0008724, allocations: 88.23 kB / 0.6817 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004872/0.0004874, allocations: 11.16 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.209, allocations: 106.3 MB / 0.8995 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02464/0.2337, allocations: 18 MB / 0.9171 GB, free: 47.42 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01545/0.2492, allocations: 7.699 MB / 0.9246 GB, free: 39.71 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/0.2505, allocations: 19.81 kB / 0.9246 GB, free: 39.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.2517, allocations: 186.7 kB / 0.9248 GB, free: 39.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00265/0.2544, allocations: 0.6277 MB / 0.9254 GB, free: 38.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002899/0.2573, allocations: 0.7254 MB / 0.9261 GB, free: 38.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00265/0.26, allocations: 1.696 MB / 0.9278 GB, free: 36.45 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000957/0.261, allocations: 415.5 kB / 0.9282 GB, free: 36.03 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001446/0.2625, allocations: 0.5329 MB / 0.9287 GB, free: 35.5 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001087/0.2636, allocations: 489.9 kB / 0.9292 GB, free: 35.02 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001847/0.2638, allocations: 28 kB / 0.9292 GB, free: 34.99 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001793/0.2656, allocations: 0.5964 MB / 0.9298 GB, free: 34.39 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002704/0.266, allocations: 123.4 kB / 0.9299 GB, free: 34.27 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002991/0.2663, allocations: 157.3 kB / 0.93 GB, free: 34.11 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001599/0.2679, allocations: 0.7365 MB / 0.9308 GB, free: 33.37 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 9.278e-06/0.2679, allocations: 7.938 kB / 0.9308 GB, free: 33.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.216e-06/0.268, allocations: 0 / 0.9308 GB, free: 33.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.847e-05/0.268, allocations: 3.938 kB / 0.9308 GB, free: 33.36 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.002624/0.2706, allocations: 0.9891 MB / 0.9317 GB, free: 32.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.2707, allocations: 12.03 kB / 0.9317 GB, free: 32.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002372/0.271, allocations: 76 kB / 0.9318 GB, free: 32.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.272, allocations: 491.3 kB / 0.9323 GB, free: 31.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.47e-05/0.2721, allocations: 37 kB / 0.9323 GB, free: 31.67 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.2722, allocations: 48 kB / 0.9324 GB, free: 31.62 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.2738, allocations: 0.6385 MB / 0.933 GB, free: 30.92 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/0.2739, allocations: 11.94 kB / 0.933 GB, free: 30.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.729e-05/0.274, allocations: 20 kB / 0.933 GB, free: 30.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.274, allocations: 12 kB / 0.933 GB, free: 30.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/0.2758, allocations: 0.5073 MB / 0.9335 GB, free: 30.37 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.004897/0.2808, allocations: 3.193 MB / 0.9366 GB, free: 26.98 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.282, allocations: 367.9 kB / 0.937 GB, free: 26.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008306/0.2828, allocations: 236.7 kB / 0.9372 GB, free: 26.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003821/0.2832, allocations: 344.4 kB / 0.9375 GB, free: 25.97 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.2833, allocations: 34.56 kB / 0.9376 GB, free: 25.93 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=38): time 3.858e-06/0.2833, allocations: 0 / 0.9376 GB, free: 25.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=38): time 0.003761/0.2871, allocations: 0.8698 MB / 0.9384 GB, free: 25.03 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.2871, allocations: 63.34 kB / 0.9385 GB, free: 24.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008769/0.288, allocations: 0.5627 MB / 0.939 GB, free: 24.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001074/0.2882, allocations: 37.7 kB / 0.9391 GB, free: 24.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000242/0.2884, allocations: 328.4 kB / 0.9394 GB, free: 24.02 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/0.2886, allocations: 138.1 kB / 0.9395 GB, free: 23.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.2886, allocations: 12 kB / 0.9395 GB, free: 23.87 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.2887, allocations: 374.7 kB / 0.9399 GB, free: 23.49 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008391/0.2896, allocations: 217.2 kB / 0.9401 GB, free: 23.28 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009098/0.2905, allocations: 376 kB / 0.9405 GB, free: 22.85 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009612/0.2915, allocations: 260.7 kB / 0.9407 GB, free: 22.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.2915, allocations: 0 / 0.9407 GB, free: 22.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002408/0.294, allocations: 0.7266 MB / 0.9414 GB, free: 21.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001298/0.2941, allocations: 223.1 kB / 0.9416 GB, free: 21.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.2942, allocations: 4 kB / 0.9416 GB, free: 21.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009794/0.2952, allocations: 136.8 kB / 0.9418 GB, free: 21.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.2965, allocations: 159.7 kB / 0.9419 GB, free: 21.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009167/0.2974, allocations: 0.6305 MB / 0.9425 GB, free: 20.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.2986, allocations: 111.2 kB / 0.9426 GB, free: 20.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/0.2988, allocations: 35.97 kB / 0.9427 GB, free: 20.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.2989, allocations: 7.938 kB / 0.9427 GB, free: 20.47 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002095/0.301, allocations: 0.6189 MB / 0.9433 GB, free: 19.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.301, allocations: 8.562 kB / 0.9433 GB, free: 19.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.3011, allocations: 8 kB / 0.9433 GB, free: 19.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.3022, allocations: 159.8 kB / 0.9434 GB, free: 19.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/0.3023, allocations: 11.98 kB / 0.9435 GB, free: 19.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.3034, allocations: 85.05 kB / 0.9435 GB, free: 19.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.3035, allocations: 35.92 kB / 0.9436 GB, free: 19.55 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 (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.0004428/0.304, allocations: 272.9 kB / 0.9438 GB, free: 19.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/0.3042, allocations: 63.16 kB / 0.9439 GB, free: 19.21 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002376/0.3066, allocations: 0.6679 MB / 0.9445 GB, free: 18.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-05/0.3067, allocations: 7.984 kB / 0.9446 GB, free: 18.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/0.3067, allocations: 0 / 0.9446 GB, free: 18.53 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004104/0.3071, allocations: 196 kB / 0.9447 GB, free: 18.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.3072, allocations: 7.984 kB / 0.9448 GB, free: 18.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007835/0.308, allocations: 63.8 kB / 0.9448 GB, free: 18.25 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.3082, allocations: 28.33 kB / 0.9448 GB, free: 18.22 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00263/0.3108, allocations: 0.7083 MB / 0.9455 GB, free: 17.5 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002848/0.3137, allocations: 1.001 MB / 0.9465 GB, free: 16.48 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007972/0.3146, allocations: 245.2 kB / 0.9467 GB, free: 16.24 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006792/0.3153, allocations: 391.1 kB / 0.9471 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of Backend: time 8.21e-07/0.3153, allocations: 3.938 kB / 0.9471 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004004/0.3193, allocations: 0.9756 MB / 0.9481 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of SimCode: time 0.004101/0.3235, allocations: 1.824 MB / 0.9499 GB, free: 13.03 MB / 0.6042 GB Notification: Performance of Templates: time 0.03589/0.3594, allocations: 13.12 MB / 0.9627 GB, free: 40 kB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)