Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.644/1.644, allocations: 287.4 MB / 303.2 MB, free: 8.297 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.001045/0.001045, allocations: 189 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.592/1.592, allocations: 205.4 MB / 0.6304 GB, free: 10.55 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.0008333/0.0008334, allocations: 106.5 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004539/0.000454, allocations: 15.91 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2578, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.0147/0.2725, allocations: 17.99 MB / 0.9968 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01202/0.2846, allocations: 7.73 MB / 1.004 GB, free: 2.422 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001639/0.2863, allocations: 23.75 kB / 1.004 GB, free: 2.398 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.2874, allocations: 182.8 kB / 1.005 GB, free: 2.219 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002533/0.2899, allocations: 0.6159 MB / 1.005 GB, free: 1.602 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002585/0.2925, allocations: 0.733 MB / 1.006 GB, free: 0.875 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002755/0.2953, allocations: 1.693 MB / 1.008 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.2963, allocations: 424.8 kB / 1.008 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001433/0.2978, allocations: 0.5368 MB / 1.008 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007462/0.2986, allocations: 493.9 kB / 1.009 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 8.927e-05/0.2987, allocations: 28 kB / 1.009 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001489/0.3002, allocations: 0.5964 MB / 1.01 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.3003, allocations: 127.4 kB / 1.01 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000249/0.3006, allocations: 153.3 kB / 1.01 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.3016, allocations: 0.7365 MB / 1.011 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.3016, allocations: 0 / 1.011 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.956e-06/0.3017, allocations: 4 kB / 1.011 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.3017, allocations: 0 / 1.011 GB, free: 12.07 MB / 0.6355 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.001945/0.3036, allocations: 0.9774 MB / 1.012 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.378e-05/0.3037, allocations: 15.97 kB / 1.012 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.3039, allocations: 87.89 kB / 1.012 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007765/0.3047, allocations: 0.4988 MB / 1.012 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.173e-05/0.3047, allocations: 37 kB / 1.012 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.781e-05/0.3048, allocations: 52 kB / 1.012 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.3059, allocations: 0.6333 MB / 1.013 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.306, allocations: 0 / 1.013 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.421e-05/0.306, allocations: 31.98 kB / 1.013 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.306, allocations: 12 kB / 1.013 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.3071, allocations: 0.515 MB / 1.013 GB, free: 9.059 MB / 0.6355 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.00352/0.3107, allocations: 3.197 MB / 1.016 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006947/0.3114, allocations: 358.5 kB / 1.017 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004876/0.3119, allocations: 247.4 kB / 1.017 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003699/0.3122, allocations: 344.4 kB / 1.017 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.3123, allocations: 38.56 kB / 1.017 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=38): time 2.886e-06/0.3123, allocations: 4 kB / 1.017 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of matching and sorting (n=38): time 0.00226/0.3146, allocations: 0.8649 MB / 1.018 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.3146, allocations: 59.41 kB / 1.018 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006627/0.3153, allocations: 0.5743 MB / 1.019 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/0.3153, allocations: 37.7 kB / 1.019 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/0.3156, allocations: 324.4 kB / 1.019 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.3157, allocations: 134.1 kB / 1.019 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/0.3157, allocations: 8 kB / 1.019 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.3159, allocations: 382.7 kB / 1.02 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004838/0.3164, allocations: 213.2 kB / 1.02 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006412/0.3171, allocations: 380 kB / 1.02 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.3181, allocations: 0.5744 MB / 1.021 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.3181, allocations: 4 kB / 1.021 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001453/0.3196, allocations: 0.7262 MB / 1.022 GB, free: 152 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001824/0.3198, allocations: 225.9 kB / 1.022 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.3198, allocations: 4 kB / 1.022 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006393/0.3204, allocations: 152.8 kB / 1.022 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006943/0.3212, allocations: 155.8 kB / 1.022 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000645/0.3218, allocations: 0.6304 MB / 1.023 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000661/0.3225, allocations: 107.3 kB / 1.023 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.023e-05/0.3226, allocations: 35.92 kB / 1.023 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.3226, allocations: 4 kB / 1.023 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001233/0.3238, allocations: 0.619 MB / 1.023 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3238, allocations: 4 kB / 1.023 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.338e-06/0.3238, allocations: 8 kB / 1.023 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005894/0.3244, allocations: 168.2 kB / 1.024 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.3245, allocations: 8 kB / 1.024 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005809/0.3251, allocations: 95.41 kB / 1.024 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.196e-05/0.3251, allocations: 28 kB / 1.024 GB, free: 13.83 MB / 0.6511 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.000319/0.3254, allocations: 280.8 kB / 1.024 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-05/0.3255, allocations: 67.16 kB / 1.024 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/0.327, allocations: 0.6572 MB / 1.025 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.3271, allocations: 4 kB / 1.025 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3271, allocations: 0 / 1.025 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002921/0.3274, allocations: 208 kB / 1.025 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.417e-05/0.3274, allocations: 4 kB / 1.025 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004085/0.3279, allocations: 55.95 kB / 1.025 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.473e-05/0.328, allocations: 28.33 kB / 1.025 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001605/0.3296, allocations: 0.7087 MB / 1.026 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001699/0.3313, allocations: 1.013 MB / 1.027 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004708/0.3318, allocations: 244.5 kB / 1.027 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004439/0.3322, allocations: 391.1 kB / 1.027 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of Backend: time 3.9e-07/0.3322, allocations: 0 / 1.027 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002646/0.3349, allocations: 0.9765 MB / 1.028 GB, free: 9.168 MB / 0.6511 GB Notification: Performance of SimCode: time 0.002745/0.3376, allocations: 1.814 MB / 1.03 GB, free: 7.309 MB / 0.6511 GB Notification: Performance of Templates: time 0.02126/0.3589, allocations: 13.21 MB / 1.043 GB, free: 10.23 MB / 0.6667 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)