Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.682/1.682, allocations: 287.4 MB / 303.2 MB, free: 8.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009492/0.0009492, allocations: 174.1 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.663/1.663, allocations: 205.4 MB / 0.6305 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007055/0.0007056, allocations: 86.72 kB / 0.7438 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003727, allocations: 11.31 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2557, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01875/0.2745, allocations: 14.37 MB / 0.9933 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01286/0.2874, allocations: 6.691 MB / 0.9998 GB, free: 7.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007706/0.2882, allocations: 19.81 kB / 0.9999 GB, free: 7.051 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009603/0.2892, allocations: 198.9 kB / 1 GB, free: 6.855 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001538/0.2908, allocations: 494.3 kB / 1.001 GB, free: 6.371 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001975/0.2928, allocations: 0.5905 MB / 1.001 GB, free: 5.789 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001374/0.2941, allocations: 1.126 MB / 1.002 GB, free: 4.656 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004905/0.2946, allocations: 279.9 kB / 1.002 GB, free: 4.383 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006459/0.2953, allocations: 358.4 kB / 1.003 GB, free: 4.031 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004/0.2957, allocations: 302.7 kB / 1.003 GB, free: 3.734 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.454e-05/0.2958, allocations: 12 kB / 1.003 GB, free: 3.723 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001092/0.2969, allocations: 0.5263 MB / 1.004 GB, free: 3.195 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.297, allocations: 83.66 kB / 1.004 GB, free: 3.113 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.683e-05/0.2971, allocations: 105.5 kB / 1.004 GB, free: 3.004 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006826/0.2978, allocations: 0.5105 MB / 1.004 GB, free: 2.492 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2978, allocations: 3.938 kB / 1.004 GB, free: 2.488 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2978, allocations: 0 / 1.004 GB, free: 2.488 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.2978, allocations: 4 kB / 1.004 GB, free: 2.484 MB / 0.6198 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.001184/0.299, allocations: 0.7474 MB / 1.005 GB, free: 1.688 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.129e-05/0.2991, allocations: 8.031 kB / 1.005 GB, free: 1.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.2992, allocations: 52.28 kB / 1.005 GB, free: 1.629 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000596/0.2998, allocations: 413 kB / 1.005 GB, free: 1.188 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.2999, allocations: 20.44 kB / 1.006 GB, free: 1.168 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.439e-05/0.2999, allocations: 28 kB / 1.006 GB, free: 1.141 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004992/0.3004, allocations: 219.2 kB / 1.006 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.3005, allocations: 0 / 1.006 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.3005, allocations: 4 kB / 1.006 GB, free: 0.9141 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.3005, allocations: 8 kB / 1.006 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004588/0.301, allocations: 181.6 kB / 1.006 GB, free: 0.7305 MB / 0.6198 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.001852/0.3028, allocations: 0.9457 MB / 1.007 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003861/0.3032, allocations: 134.6 kB / 1.007 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/0.3035, allocations: 76.81 kB / 1.007 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003631/0.3039, allocations: 340.4 kB / 1.007 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.3039, allocations: 34.56 kB / 1.007 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 4.208e-06/0.3039, allocations: 0 / 1.007 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0008254/0.3047, allocations: 259.6 kB / 1.008 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.3048, allocations: 55.41 kB / 1.008 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006925/0.3055, allocations: 469.9 kB / 1.008 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/0.3056, allocations: 29.7 kB / 1.008 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002312/0.3058, allocations: 228.6 kB / 1.008 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.162e-05/0.3059, allocations: 47.3 kB / 1.008 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.671e-05/0.3059, allocations: 4 kB / 1.008 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002002/0.3061, allocations: 362.7 kB / 1.009 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002462/0.3064, allocations: 71.81 kB / 1.009 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003691/0.3067, allocations: 157.8 kB / 1.009 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004876/0.3072, allocations: 170.5 kB / 1.009 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.3072, allocations: 0 / 1.009 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006602/0.3079, allocations: 259.3 kB / 1.009 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.23e-05/0.308, allocations: 110.7 kB / 1.01 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.308, allocations: 7.984 kB / 1.01 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.3081, allocations: 96 / 1.01 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003136/0.3084, allocations: 47.95 kB / 1.01 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.801e-05/0.3084, allocations: 7.938 kB / 1.01 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004622/0.3089, allocations: 51.7 kB / 1.01 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.646e-05/0.3089, allocations: 12 kB / 1.01 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.115e-06/0.309, allocations: 4 kB / 1.01 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005555/0.3095, allocations: 179.8 kB / 1.01 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-06/0.3095, allocations: 3.938 kB / 1.01 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.326e-06/0.3096, allocations: 0 / 1.01 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/0.3098, allocations: 51.97 kB / 1.01 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.3098, allocations: 0 / 1.01 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004135/0.3103, allocations: 51.66 kB / 1.01 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.3103, allocations: 11.98 kB / 1.01 GB, free: 12.34 MB / 0.6355 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.0002714/0.3106, allocations: 241 kB / 1.01 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-05/0.3107, allocations: 39.53 kB / 1.01 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000748/0.3115, allocations: 267.1 kB / 1.01 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3115, allocations: 0 / 1.01 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.3115, allocations: 0 / 1.01 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002046/0.3117, allocations: 144.4 kB / 1.011 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.841e-05/0.3118, allocations: 4 kB / 1.011 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003104/0.3121, allocations: 31.91 kB / 1.011 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.3122, allocations: 7.984 kB / 1.011 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006252/0.3128, allocations: 287 kB / 1.011 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006535/0.3135, allocations: 415.8 kB / 1.011 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002299/0.3137, allocations: 83.88 kB / 1.011 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000482/0.3142, allocations: 326.9 kB / 1.012 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of Backend: time 2.855e-06/0.3142, allocations: 0 / 1.012 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002886/0.3171, allocations: 0.7492 MB / 1.012 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of SimCode: time 0.002964/0.3201, allocations: 1.384 MB / 1.014 GB, free: 8.461 MB / 0.6355 GB Notification: Performance of Templates: time 0.02298/0.3431, allocations: 9.276 MB / 1.023 GB, free: 15.27 MB / 0.6511 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)