Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.812/1.812, allocations: 287.4 MB / 303.2 MB, free: 8.18 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.001091/0.001091, allocations: 164.8 kB / 371.8 MB, free: 10.85 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.757/1.757, allocations: 205.4 MB / 0.6305 GB, free: 10.6 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.0008401/0.0008398, allocations: 97.41 kB / 0.7438 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004104/0.0004105, allocations: 12.5 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2167, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.02253/0.2392, allocations: 27.74 MB / 1.006 GB, free: 392 kB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01619/0.2555, allocations: 10.98 MB / 1.017 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001541/0.2571, allocations: 35.62 kB / 1.017 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.2583, allocations: 309.9 kB / 1.017 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00363/0.262, allocations: 1.064 MB / 1.018 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002964/0.265, allocations: 0.967 MB / 1.019 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004847/0.2698, allocations: 3.54 MB / 1.023 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002076/0.2719, allocations: 1.124 MB / 1.024 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003128/0.2751, allocations: 1.441 MB / 1.025 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003304/0.2784, allocations: 1.55 MB / 1.027 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0007079/0.2791, allocations: 64 kB / 1.027 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002681/0.2818, allocations: 0.8617 MB / 1.028 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0007421/0.2826, allocations: 330.8 kB / 1.028 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0007477/0.2833, allocations: 249.1 kB / 1.028 GB, free: 9.84 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002225/0.2856, allocations: 1.532 MB / 1.03 GB, free: 8.305 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.2856, allocations: 4 kB / 1.03 GB, free: 8.301 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2856, allocations: 0 / 1.03 GB, free: 8.301 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.355e-05/0.2857, allocations: 0 / 1.03 GB, free: 8.301 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002788/0.2885, allocations: 1.317 MB / 1.031 GB, free: 6.93 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.2885, allocations: 8.031 kB / 1.031 GB, free: 6.922 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000602/0.2891, allocations: 155 kB / 1.031 GB, free: 6.77 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001991/0.2911, allocations: 0.8868 MB / 1.032 GB, free: 5.84 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.34e-05/0.2912, allocations: 77.31 kB / 1.032 GB, free: 5.766 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003731/0.2916, allocations: 116 kB / 1.032 GB, free: 5.652 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.2929, allocations: 0.6434 MB / 1.033 GB, free: 4.98 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.2929, allocations: 0 / 1.033 GB, free: 4.98 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.201e-05/0.2929, allocations: 24 kB / 1.033 GB, free: 4.957 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.293, allocations: 15.94 kB / 1.033 GB, free: 4.941 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009726/0.2939, allocations: 476.8 kB / 1.033 GB, free: 4.477 MB / 0.6511 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.005188/0.2991, allocations: 2.863 MB / 1.036 GB, free: 1.461 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006265/0.2998, allocations: 318.1 kB / 1.037 GB, free: 1.145 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003123/0.3001, allocations: 149.4 kB / 1.037 GB, free: 0.9961 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003452/0.3005, allocations: 344.7 kB / 1.037 GB, free: 0.5859 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.3005, allocations: 42.77 kB / 1.037 GB, free: 0.5352 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 5.931e-06/0.3005, allocations: 3.984 kB / 1.037 GB, free: 0.5312 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.0014/0.3019, allocations: 0.5469 MB / 1.038 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.302, allocations: 55.41 kB / 1.038 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.3032, allocations: 0.883 MB / 1.039 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001701/0.3034, allocations: 57.7 kB / 1.039 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005092/0.3039, allocations: 0.537 MB / 1.039 GB, free: 14.4 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.304, allocations: 110.4 kB / 1.039 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.304, allocations: 12 kB / 1.039 GB, free: 14.28 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.3041, allocations: 330.1 kB / 1.04 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003985/0.3046, allocations: 185.2 kB / 1.04 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/0.306, allocations: 1.139 MB / 1.041 GB, free: 12.26 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000809/0.3068, allocations: 447.4 kB / 1.041 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.3068, allocations: 0 / 1.041 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001316/0.3081, allocations: 0.6422 MB / 1.042 GB, free: 11.15 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.3082, allocations: 148.3 kB / 1.042 GB, free: 10.97 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.3083, allocations: 4 kB / 1.042 GB, free: 10.97 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.3083, allocations: 4 kB / 1.042 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/0.3097, allocations: 239.7 kB / 1.042 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001639/0.3113, allocations: 2.961 MB / 1.045 GB, free: 7.652 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003209/0.3146, allocations: 0.7495 MB / 1.046 GB, free: 6.902 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.208e-05/0.3147, allocations: 27.98 kB / 1.046 GB, free: 6.875 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/0.3147, allocations: 4 kB / 1.046 GB, free: 6.871 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009784/0.3157, allocations: 0.4972 MB / 1.046 GB, free: 6.379 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3157, allocations: 4 kB / 1.046 GB, free: 6.375 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.825e-06/0.3157, allocations: 8.188 kB / 1.046 GB, free: 6.367 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006476/0.3163, allocations: 155.8 kB / 1.047 GB, free: 6.215 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.3164, allocations: 7.938 kB / 1.047 GB, free: 6.207 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00309/0.3195, allocations: 0.7339 MB / 1.047 GB, free: 5.473 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.94e-05/0.3195, allocations: 27.98 kB / 1.047 GB, free: 5.445 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005682/0.3201, allocations: 337.8 kB / 1.048 GB, free: 5.102 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/0.3203, allocations: 94.78 kB / 1.048 GB, free: 5.008 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.3214, allocations: 0.5086 MB / 1.048 GB, free: 4.492 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.3214, allocations: 7.984 kB / 1.048 GB, free: 4.484 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.3214, allocations: 4 kB / 1.048 GB, free: 4.48 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003579/0.3218, allocations: 219.8 kB / 1.048 GB, free: 4.246 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.3219, allocations: 8 kB / 1.048 GB, free: 4.238 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005212/0.3225, allocations: 59.84 kB / 1.048 GB, free: 4.18 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.423e-05/0.3225, allocations: 32.22 kB / 1.049 GB, free: 4.148 MB / 0.6667 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001176/0.3237, allocations: 0.5763 MB / 1.049 GB, free: 3.551 MB / 0.6667 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001247/0.325, allocations: 0.822 MB / 1.05 GB, free: 2.711 MB / 0.6667 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003286/0.3253, allocations: 176.6 kB / 1.05 GB, free: 2.539 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007187/0.3261, allocations: 0.5844 MB / 1.051 GB, free: 1.945 MB / 0.6667 GB Notification: Performance of Backend: time 9.62e-07/0.3261, allocations: 0 / 1.051 GB, free: 1.945 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003257/0.3293, allocations: 1.038 MB / 1.052 GB, free: 0.9102 MB / 0.6667 GB Notification: Performance of SimCode: time 0.004069/0.3334, allocations: 2.471 MB / 1.054 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of Templates: time 0.4458/0.7792, allocations: 25.08 MB / 1.079 GB, free: 88.29 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)