Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.371/2.371, allocations: 251.1 MB / 266.7 MB, free: 11.66 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.001485/0.001484, allocations: 182.5 kB / 326.3 MB, free: 2.902 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.381/2.381, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.001279/0.001278, allocations: 83.02 kB / 0.6817 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006286/0.0006288, allocations: 11.22 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.214, allocations: 106.3 MB / 0.8995 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02378/0.2379, allocations: 14.37 MB / 0.9135 GB, free: 51.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01917/0.2571, allocations: 6.677 MB / 0.9201 GB, free: 44.48 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009192/0.2581, allocations: 15.88 kB / 0.9201 GB, free: 44.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.2593, allocations: 194.9 kB / 0.9203 GB, free: 44.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002301/0.2617, allocations: 493.4 kB / 0.9207 GB, free: 43.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003126/0.2648, allocations: 0.5868 MB / 0.9213 GB, free: 43.21 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00234/0.2672, allocations: 1.13 MB / 0.9224 GB, free: 42.08 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007263/0.268, allocations: 274.4 kB / 0.9227 GB, free: 41.81 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.269, allocations: 362.4 kB / 0.923 GB, free: 41.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006575/0.2697, allocations: 294.7 kB / 0.9233 GB, free: 41.16 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.378e-05/0.2698, allocations: 12 kB / 0.9233 GB, free: 41.15 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001852/0.2717, allocations: 0.5302 MB / 0.9238 GB, free: 40.62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.272, allocations: 79.61 kB / 0.9239 GB, free: 40.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002426/0.2722, allocations: 113.4 kB / 0.924 GB, free: 40.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001318/0.2736, allocations: 0.5027 MB / 0.9245 GB, free: 39.92 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 9.719e-06/0.2736, allocations: 4 kB / 0.9245 GB, free: 39.92 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.285e-06/0.2736, allocations: 4 kB / 0.9245 GB, free: 39.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.2736, allocations: 0 / 0.9245 GB, free: 39.91 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001874/0.2755, allocations: 0.7436 MB / 0.9252 GB, free: 39.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.996e-05/0.2756, allocations: 11.97 kB / 0.9252 GB, free: 39.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.2758, allocations: 56.28 kB / 0.9253 GB, free: 39.05 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.2769, allocations: 393.2 kB / 0.9257 GB, free: 38.63 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.036e-05/0.277, allocations: 28.36 kB / 0.9257 GB, free: 38.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-05/0.2771, allocations: 24 kB / 0.9257 GB, free: 38.58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008336/0.278, allocations: 215.2 kB / 0.9259 GB, free: 38.36 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.278, allocations: 4 kB / 0.9259 GB, free: 38.36 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.066e-05/0.2781, allocations: 4 kB / 0.9259 GB, free: 38.36 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.2781, allocations: 8 kB / 0.9259 GB, free: 38.35 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008376/0.279, allocations: 177.6 kB / 0.9261 GB, free: 38.18 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.003554/0.2825, allocations: 0.9494 MB / 0.927 GB, free: 37.15 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006231/0.2832, allocations: 141.5 kB / 0.9272 GB, free: 37 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003834/0.2836, allocations: 72.81 kB / 0.9272 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004053/0.2841, allocations: 340.5 kB / 0.9276 GB, free: 36.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.2841, allocations: 38.56 kB / 0.9276 GB, free: 36.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 3.857e-06/0.2841, allocations: 0 / 0.9276 GB, free: 36.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.001423/0.2856, allocations: 249 kB / 0.9278 GB, free: 36.23 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.2856, allocations: 59.34 kB / 0.9279 GB, free: 36.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.2867, allocations: 466 kB / 0.9283 GB, free: 35.69 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.123e-05/0.2868, allocations: 33.7 kB / 0.9284 GB, free: 35.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/0.2871, allocations: 224.6 kB / 0.9286 GB, free: 35.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.899e-05/0.2872, allocations: 43.36 kB / 0.9286 GB, free: 35.39 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/0.2872, allocations: 4 kB / 0.9286 GB, free: 35.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.2874, allocations: 358.7 kB / 0.929 GB, free: 35.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004191/0.2878, allocations: 71.95 kB / 0.929 GB, free: 34.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005312/0.2884, allocations: 151.6 kB / 0.9292 GB, free: 34.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004888/0.2889, allocations: 93.44 kB / 0.9293 GB, free: 34.69 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.2889, allocations: 0 / 0.9293 GB, free: 34.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001293/0.2902, allocations: 253 kB / 0.9295 GB, free: 34.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.005e-05/0.2903, allocations: 112.7 kB / 0.9296 GB, free: 34.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.2904, allocations: 7.875 kB / 0.9296 GB, free: 34.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.587e-05/0.2904, allocations: 0 / 0.9296 GB, free: 34.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006383/0.2911, allocations: 59.84 kB / 0.9297 GB, free: 34.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.2911, allocations: 0 / 0.9297 GB, free: 34.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009694/0.2921, allocations: 47.66 kB / 0.9297 GB, free: 34.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.519e-05/0.2922, allocations: 12 kB / 0.9298 GB, free: 34.19 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.2922, allocations: 4 kB / 0.9298 GB, free: 34.18 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009629/0.2932, allocations: 191.8 kB / 0.9299 GB, free: 34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.2932, allocations: 0 / 0.9299 GB, free: 34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.2932, allocations: 4 kB / 0.9299 GB, free: 33.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005459/0.2938, allocations: 47.91 kB / 0.93 GB, free: 33.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.2938, allocations: 4 kB / 0.93 GB, free: 33.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009103/0.2948, allocations: 43.72 kB / 0.93 GB, free: 33.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.212e-05/0.2948, allocations: 8 kB / 0.93 GB, free: 33.89 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005363/0.2954, allocations: 237 kB / 0.9303 GB, free: 33.65 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.2956, allocations: 47.53 kB / 0.9303 GB, free: 33.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.2967, allocations: 267.6 kB / 0.9306 GB, free: 33.33 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.2967, allocations: 0 / 0.9306 GB, free: 33.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.2968, allocations: 8 kB / 0.9306 GB, free: 33.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003001/0.2971, allocations: 132.6 kB / 0.9307 GB, free: 33.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.765e-05/0.2972, allocations: 7.984 kB / 0.9307 GB, free: 33.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005178/0.2977, allocations: 31.77 kB / 0.9307 GB, free: 33.13 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.166e-05/0.2978, allocations: 7.984 kB / 0.9307 GB, free: 33.12 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001176/0.299, allocations: 284.8 kB / 0.931 GB, free: 32.84 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001045/0.3001, allocations: 407.4 kB / 0.9314 GB, free: 32.43 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003972/0.3005, allocations: 81.92 kB / 0.9315 GB, free: 32.35 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007327/0.3013, allocations: 326.9 kB / 0.9318 GB, free: 32.03 MB / 0.6042 GB Notification: Performance of Backend: time 1.072e-06/0.3013, allocations: 4 kB / 0.9318 GB, free: 32.03 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004445/0.3058, allocations: 0.7414 MB / 0.9325 GB, free: 31.45 MB / 0.6042 GB Notification: Performance of SimCode: time 0.004455/0.3103, allocations: 1.406 MB / 0.9339 GB, free: 30 MB / 0.6042 GB Notification: Performance of Templates: time 0.03521/0.3456, allocations: 9.21 MB / 0.9429 GB, free: 20.87 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)