Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.778/1.778, allocations: 288.3 MB / 303.2 MB, free: 8.066 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.0014/0.0014, allocations: 185 kB / 371.9 MB, free: 10.29 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.927/1.927, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.0009771/0.000977, allocations: 106.8 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004503/0.0004504, allocations: 16.09 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2518, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01427/0.2661, allocations: 16.51 MB / 0.9956 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009431/0.2756, allocations: 7.318 MB / 1.003 GB, free: 3.816 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.2768, allocations: 23.75 kB / 1.003 GB, free: 3.793 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001288/0.2781, allocations: 382.3 kB / 1.003 GB, free: 3.418 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002625/0.2808, allocations: 0.7867 MB / 1.004 GB, free: 2.629 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.005858/0.2866, allocations: 2.186 MB / 1.006 GB, free: 480 kB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001948/0.2886, allocations: 0.9425 MB / 1.007 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009251/0.2895, allocations: 419.3 kB / 1.007 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001167/0.2907, allocations: 0.5022 MB / 1.008 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008137/0.2915, allocations: 398.3 kB / 1.008 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001827/0.2917, allocations: 28 kB / 1.008 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001518/0.2933, allocations: 0.6357 MB / 1.009 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002301/0.2935, allocations: 127.5 kB / 1.009 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002642/0.2938, allocations: 153.3 kB / 1.009 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.295, allocations: 0.7365 MB / 1.01 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.295, allocations: 0 / 1.01 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.866e-06/0.295, allocations: 3.938 kB / 1.01 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.358e-05/0.2951, allocations: 0 / 1.01 GB, free: 12.52 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.002234/0.2973, allocations: 0.989 MB / 1.011 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.2974, allocations: 8.031 kB / 1.011 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002739/0.2976, allocations: 79.06 kB / 1.011 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009422/0.2986, allocations: 494.5 kB / 1.011 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.839e-05/0.2986, allocations: 37 kB / 1.011 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-05/0.2987, allocations: 48 kB / 1.011 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.3, allocations: 0.6293 MB / 1.012 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.3, allocations: 7.938 kB / 1.012 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.688e-05/0.3001, allocations: 27.98 kB / 1.012 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.616e-05/0.3001, allocations: 12 kB / 1.012 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.3013, allocations: 0.5073 MB / 1.013 GB, free: 9.535 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.00392/0.3052, allocations: 3.197 MB / 1.016 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007242/0.306, allocations: 358.7 kB / 1.016 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003633/0.3063, allocations: 348.4 kB / 1.016 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.3064, allocations: 38.56 kB / 1.016 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=38): time 3.376e-06/0.3064, allocations: 0 / 1.016 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of matching and sorting (n=38): time 0.002279/0.3087, allocations: 0.8581 MB / 1.017 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.3087, allocations: 59.36 kB / 1.017 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007507/0.3095, allocations: 0.5821 MB / 1.018 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.132e-05/0.3096, allocations: 29.7 kB / 1.018 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002846/0.3099, allocations: 328.4 kB / 1.018 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.31, allocations: 126.2 kB / 1.018 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.31, allocations: 16 kB / 1.018 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.3102, allocations: 366.8 kB / 1.019 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005429/0.3108, allocations: 225.2 kB / 1.019 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006153/0.3114, allocations: 368.7 kB / 1.019 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005713/0.312, allocations: 260.7 kB / 1.02 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.312, allocations: 0 / 1.02 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001559/0.3136, allocations: 0.7302 MB / 1.02 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008651/0.3144, allocations: 1.753 MB / 1.022 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.3145, allocations: 4 kB / 1.022 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000659/0.3151, allocations: 144.7 kB / 1.022 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006606/0.3158, allocations: 159.8 kB / 1.022 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008024/0.3166, allocations: 0.6265 MB / 1.023 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/0.3177, allocations: 107.3 kB / 1.023 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.3178, allocations: 35.98 kB / 1.023 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.3178, allocations: 4 kB / 1.023 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002051/0.3199, allocations: 0.6233 MB / 1.024 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.3199, allocations: 8.062 kB / 1.024 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.3199, allocations: 8 kB / 1.024 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008182/0.3208, allocations: 155.8 kB / 1.024 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.3208, allocations: 11.98 kB / 1.024 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006476/0.3215, allocations: 95.47 kB / 1.024 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.387e-05/0.3215, allocations: 31.98 kB / 1.024 GB, free: 13.36 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.0004614/0.322, allocations: 272.8 kB / 1.024 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.3222, allocations: 63.25 kB / 1.024 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001641/0.3238, allocations: 0.6734 MB / 1.025 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/0.3239, allocations: 8 kB / 1.025 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3239, allocations: 0 / 1.025 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.3239, allocations: 3.984 kB / 1.025 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002852/0.3267, allocations: 1.404 MB / 1.026 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.3268, allocations: 4 kB / 1.026 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003459/0.3271, allocations: 87.88 kB / 1.026 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004323/0.3276, allocations: 128.8 kB / 1.026 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.911e-05/0.3276, allocations: 19.98 kB / 1.026 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006611/0.3283, allocations: 0.6342 MB / 1.027 GB, free: 9.945 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.3283, allocations: 3.984 kB / 1.027 GB, free: 9.941 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.3298, allocations: 0.7567 MB / 1.028 GB, free: 9.133 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003408/0.3301, allocations: 212 kB / 1.028 GB, free: 8.906 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.3303, allocations: 8 kB / 1.028 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004938/0.3307, allocations: 59.94 kB / 1.028 GB, free: 8.84 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.912e-05/0.3308, allocations: 27.97 kB / 1.028 GB, free: 8.812 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.863e-05/0.3309, allocations: 19.92 kB / 1.028 GB, free: 8.793 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000486/0.3314, allocations: 395.1 kB / 1.029 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3314, allocations: 0 / 1.029 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001284/0.3327, allocations: 387.3 kB / 1.029 GB, free: 8.035 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.000816/0.3335, allocations: 293.8 kB / 1.029 GB, free: 7.75 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00221/0.3357, allocations: 0.9175 MB / 1.03 GB, free: 6.836 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.3357, allocations: 4 kB / 1.03 GB, free: 6.832 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007344/0.3365, allocations: 295.9 kB / 1.03 GB, free: 6.543 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/0.3379, allocations: 274.7 kB / 1.031 GB, free: 6.277 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.3401, allocations: 1.281 MB / 1.032 GB, free: 4.961 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005938/0.3407, allocations: 0.9233 MB / 1.033 GB, free: 4.012 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006415/0.3414, allocations: 143.9 kB / 1.033 GB, free: 3.875 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/0.3416, allocations: 67.41 kB / 1.033 GB, free: 3.809 MB / 0.6511 GB Notification: Performance of SimCode: time 4.61e-07/0.3416, allocations: 0 / 1.033 GB, free: 3.809 MB / 0.6511 GB Notification: Performance of Templates: time 0.02217/0.3638, allocations: 11.83 MB / 1.045 GB, free: 8.109 MB / 0.6667 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)