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: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.723/1.723, allocations: 288.4 MB / 303.3 MB, free: 8.199 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.0009901/0.0009901, allocations: 185.3 kB / 372 MB, free: 10.3 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.767/1.767, allocations: 205.4 MB / 0.6307 GB, free: 9.934 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.0008931/0.000893, allocations: 90.3 kB / 0.744 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003957/0.0003957, allocations: 15.89 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2707, allocations: 115.3 MB / 0.9796 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01692/0.2877, allocations: 17.98 MB / 0.9972 GB, free: 9.566 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0106/0.2984, allocations: 7.739 MB / 1.005 GB, free: 1.812 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/0.2996, allocations: 19.81 kB / 1.005 GB, free: 1.793 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007681/0.3004, allocations: 182.7 kB / 1.005 GB, free: 1.613 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002006/0.3024, allocations: 0.6157 MB / 1.006 GB, free: 0.9961 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001989/0.3044, allocations: 0.7374 MB / 1.006 GB, free: 272 kB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002387/0.3068, allocations: 1.673 MB / 1.008 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008371/0.3076, allocations: 411.2 kB / 1.008 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001287/0.3089, allocations: 0.525 MB / 1.009 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007048/0.3096, allocations: 497.9 kB / 1.009 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 7.529e-05/0.3097, allocations: 32 kB / 1.009 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/0.3111, allocations: 0.5964 MB / 1.01 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.3113, allocations: 123.4 kB / 1.01 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002309/0.3115, allocations: 157.3 kB / 1.01 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000979/0.3125, allocations: 0.7363 MB / 1.011 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.395e-06/0.3125, allocations: 0 / 1.011 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of FrontEnd: time 5.971e-06/0.3126, allocations: 4 kB / 1.011 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.3126, allocations: 0 / 1.011 GB, free: 11.5 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.001948/0.3145, allocations: 0.9889 MB / 1.012 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/0.3146, allocations: 8.031 kB / 1.012 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001118/0.3147, allocations: 82.53 kB / 1.012 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.3149, allocations: 79.06 kB / 1.012 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007909/0.3157, allocations: 494.6 kB / 1.012 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.334e-05/0.3157, allocations: 37 kB / 1.013 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.272e-05/0.3158, allocations: 52 kB / 1.013 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.317, allocations: 0.6371 MB / 1.013 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.317, allocations: 0 / 1.013 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.92e-05/0.3171, allocations: 24 kB / 1.013 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.3171, allocations: 15.94 kB / 1.013 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.3182, allocations: 0.5112 MB / 1.014 GB, free: 8.422 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.004129/0.3223, allocations: 3.201 MB / 1.017 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00085/0.3232, allocations: 355.5 kB / 1.017 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005349/0.3238, allocations: 244.7 kB / 1.017 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00043/0.3242, allocations: 344.4 kB / 1.018 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.3243, allocations: 38.56 kB / 1.018 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=38): time 3.467e-06/0.3243, allocations: 0 / 1.018 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of matching and sorting (n=38): time 0.00243/0.3267, allocations: 0.865 MB / 1.019 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.3268, allocations: 55.41 kB / 1.019 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000773/0.3276, allocations: 0.586 MB / 1.019 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.297e-05/0.3276, allocations: 37.7 kB / 1.019 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002703/0.3279, allocations: 328.4 kB / 1.02 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.328, allocations: 122.2 kB / 1.02 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.3281, allocations: 8 kB / 1.02 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.3283, allocations: 374.8 kB / 1.02 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005189/0.3288, allocations: 221.2 kB / 1.02 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006549/0.3294, allocations: 376 kB / 1.021 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005743/0.33, allocations: 256.6 kB / 1.021 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.33, allocations: 0 / 1.021 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001592/0.3316, allocations: 0.7301 MB / 1.022 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000182/0.3318, allocations: 227.4 kB / 1.022 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.3319, allocations: 8 kB / 1.022 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008278/0.3327, allocations: 152.8 kB / 1.022 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008481/0.3336, allocations: 155.8 kB / 1.022 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008015/0.3344, allocations: 0.6265 MB / 1.023 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008494/0.3352, allocations: 107.2 kB / 1.023 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.5e-05/0.3353, allocations: 35.98 kB / 1.023 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.3354, allocations: 4 kB / 1.023 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001546/0.3369, allocations: 0.6191 MB / 1.024 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.337, allocations: 4 kB / 1.024 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.337, allocations: 8 kB / 1.024 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007823/0.3378, allocations: 163.8 kB / 1.024 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.3378, allocations: 12.25 kB / 1.024 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007719/0.3386, allocations: 96.84 kB / 1.024 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.18e-05/0.3386, allocations: 24 kB / 1.024 GB, free: 13.59 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.0004419/0.3391, allocations: 274.4 kB / 1.024 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.3393, allocations: 67.2 kB / 1.024 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00166/0.3409, allocations: 0.6741 MB / 1.025 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.3409, allocations: 8 kB / 1.025 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.83e-06/0.341, allocations: 7.938 kB / 1.025 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.341, allocations: 0 / 1.025 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002678/0.3437, allocations: 1.393 MB / 1.026 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.3437, allocations: 0 / 1.026 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003773/0.3441, allocations: 83.98 kB / 1.026 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004569/0.3445, allocations: 148.8 kB / 1.026 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.649e-05/0.3446, allocations: 11.98 kB / 1.026 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006276/0.3452, allocations: 0.6343 MB / 1.027 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3452, allocations: 0 / 1.027 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.3467, allocations: 0.7243 MB / 1.028 GB, free: 9.422 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003281/0.347, allocations: 208 kB / 1.028 GB, free: 9.199 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.92e-05/0.3471, allocations: 12 kB / 1.028 GB, free: 9.188 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004588/0.3475, allocations: 47.95 kB / 1.028 GB, free: 9.141 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.416e-05/0.3476, allocations: 31.95 kB / 1.028 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.357e-05/0.3477, allocations: 19.98 kB / 1.028 GB, free: 9.09 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004802/0.3482, allocations: 395 kB / 1.028 GB, free: 8.711 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3482, allocations: 0 / 1.028 GB, free: 8.711 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001225/0.3494, allocations: 383.3 kB / 1.029 GB, free: 8.336 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.002357/0.3518, allocations: 1.475 MB / 1.03 GB, free: 6.832 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00219/0.354, allocations: 0.914 MB / 1.031 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.354, allocations: 0 / 1.031 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007382/0.3548, allocations: 299.8 kB / 1.031 GB, free: 5.629 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/0.3564, allocations: 276.1 kB / 1.032 GB, free: 5.363 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007121/0.3636, allocations: 3.762 MB / 1.035 GB, free: 1.484 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005693/0.3642, allocations: 0.9077 MB / 1.036 GB, free: 0.5508 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0007723/0.365, allocations: 156.5 kB / 1.036 GB, free: 408 kB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003737/0.3654, allocations: 243.3 kB / 1.037 GB, free: 164 kB / 0.6511 GB Notification: Performance of SimCode: time 1.202e-06/0.3654, allocations: 0 / 1.037 GB, free: 164 kB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04245/0.4078, allocations: 17.83 MB / 1.054 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002906/0.4082, allocations: 288.2 kB / 1.054 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.611/3.019, allocations: 3.094 kB / 1.054 GB, free: 14.3 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)