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.663/1.663, allocations: 288.2 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.001036/0.001036, allocations: 175.7 kB / 371.8 MB, free: 10.28 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.576/1.576, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.0009424/0.0009423, allocations: 98.59 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004422/0.0004424, allocations: 10.84 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2616, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01452/0.2762, allocations: 16.52 MB / 0.9956 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01138/0.2876, allocations: 7.325 MB / 1.003 GB, free: 3.699 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.2888, allocations: 27.75 kB / 1.003 GB, free: 3.672 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.29, allocations: 374.2 kB / 1.003 GB, free: 3.305 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00258/0.2926, allocations: 0.7913 MB / 1.004 GB, free: 2.512 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.005823/0.2984, allocations: 2.175 MB / 1.006 GB, free: 376 kB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002032/0.3004, allocations: 0.9464 MB / 1.007 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007845/0.3012, allocations: 419.3 kB / 1.007 GB, free: 15 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.3024, allocations: 0.4983 MB / 1.008 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005998/0.303, allocations: 394.3 kB / 1.008 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 7.476e-05/0.3031, allocations: 28 kB / 1.008 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001557/0.3047, allocations: 0.6435 MB / 1.009 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.3049, allocations: 123.5 kB / 1.009 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.305, allocations: 149.3 kB / 1.009 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000999/0.3061, allocations: 0.7521 MB / 1.01 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3061, allocations: 0 / 1.01 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3061, allocations: 0 / 1.01 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.858e-05/0.3061, allocations: 0 / 1.01 GB, free: 12.41 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.001883/0.308, allocations: 0.9858 MB / 1.011 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.308, allocations: 8.031 kB / 1.011 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/0.3082, allocations: 90.45 kB / 1.011 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.3083, allocations: 79.06 kB / 1.011 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008045/0.3091, allocations: 486.6 kB / 1.011 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.427e-05/0.3092, allocations: 37 kB / 1.012 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.248e-05/0.3093, allocations: 55.94 kB / 1.012 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.3104, allocations: 0.6294 MB / 1.012 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.3104, allocations: 7.938 kB / 1.012 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.248e-05/0.3104, allocations: 16 kB / 1.012 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.3105, allocations: 12 kB / 1.012 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.3117, allocations: 0.519 MB / 1.013 GB, free: 9.332 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.004708/0.3164, allocations: 3.193 MB / 1.016 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007687/0.3172, allocations: 358.8 kB / 1.016 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000498/0.3177, allocations: 340.4 kB / 1.017 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.511e-05/0.3178, allocations: 42.58 kB / 1.017 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=38): time 3.747e-06/0.3178, allocations: 3.938 kB / 1.017 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of matching and sorting (n=38): time 0.002356/0.3202, allocations: 0.8658 MB / 1.017 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.3202, allocations: 55.41 kB / 1.017 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007105/0.321, allocations: 0.5742 MB / 1.018 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.782e-05/0.321, allocations: 37.7 kB / 1.018 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000265/0.3213, allocations: 328.4 kB / 1.018 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.3214, allocations: 130.2 kB / 1.018 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.769e-05/0.3215, allocations: 8 kB / 1.018 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.3216, allocations: 374.8 kB / 1.019 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005008/0.3221, allocations: 217.2 kB / 1.019 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006106/0.3228, allocations: 383.9 kB / 1.019 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000568/0.3233, allocations: 256.7 kB / 1.02 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.3234, allocations: 0 / 1.02 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001563/0.3249, allocations: 0.7261 MB / 1.02 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000976/0.3259, allocations: 1.74 MB / 1.022 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.3259, allocations: 11.98 kB / 1.022 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000679/0.3266, allocations: 156.7 kB / 1.022 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006942/0.3273, allocations: 159.8 kB / 1.022 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007229/0.3281, allocations: 0.6304 MB / 1.023 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007476/0.3288, allocations: 99.3 kB / 1.023 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.211e-05/0.3289, allocations: 35.98 kB / 1.023 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3289, allocations: 5.406 kB / 1.023 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001308/0.3303, allocations: 0.6231 MB / 1.024 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3303, allocations: 4 kB / 1.024 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.3303, allocations: 8 kB / 1.024 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006045/0.3309, allocations: 159.8 kB / 1.024 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.3309, allocations: 16.2 kB / 1.024 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005737/0.3315, allocations: 87.48 kB / 1.024 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-05/0.3316, allocations: 27.98 kB / 1.024 GB, free: 13.15 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.0003687/0.3319, allocations: 276.9 kB / 1.024 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.3321, allocations: 67.16 kB / 1.024 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001577/0.3336, allocations: 0.6662 MB / 1.025 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.3337, allocations: 8 kB / 1.025 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3337, allocations: 4 kB / 1.025 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.3337, allocations: 3.984 kB / 1.025 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002656/0.3364, allocations: 1.4 MB / 1.026 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.3364, allocations: 0 / 1.026 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003857/0.3368, allocations: 91.88 kB / 1.026 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004666/0.3373, allocations: 136.8 kB / 1.027 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.562e-05/0.3373, allocations: 8 kB / 1.027 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007677/0.3381, allocations: 0.6421 MB / 1.027 GB, free: 9.738 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3381, allocations: 0 / 1.027 GB, free: 9.738 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/0.3396, allocations: 0.7567 MB / 1.028 GB, free: 8.93 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003471/0.3399, allocations: 207.9 kB / 1.028 GB, free: 8.707 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.679e-05/0.34, allocations: 15.98 kB / 1.028 GB, free: 8.691 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004474/0.3405, allocations: 47.95 kB / 1.028 GB, free: 8.645 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.3406, allocations: 31.95 kB / 1.028 GB, free: 8.613 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.97e-05/0.3406, allocations: 16 kB / 1.028 GB, free: 8.598 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005138/0.3412, allocations: 391.1 kB / 1.029 GB, free: 8.223 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3412, allocations: 0 / 1.029 GB, free: 8.223 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001256/0.3424, allocations: 387.3 kB / 1.029 GB, free: 7.844 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.002498/0.3449, allocations: 1.712 MB / 1.031 GB, free: 6.094 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002148/0.3471, allocations: 0.9101 MB / 1.032 GB, free: 5.184 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.3471, allocations: 4 kB / 1.032 GB, free: 5.18 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007093/0.3478, allocations: 295.9 kB / 1.032 GB, free: 4.891 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/0.3494, allocations: 268.6 kB / 1.032 GB, free: 4.629 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004114/0.3535, allocations: 4.632 MB / 1.037 GB, free: 15.85 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005404/0.3541, allocations: 0.9233 MB / 1.038 GB, free: 14.9 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0007036/0.3548, allocations: 150.8 kB / 1.038 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003428/0.3552, allocations: 247.3 kB / 1.038 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of SimCode: time 8.02e-07/0.3552, allocations: 0 / 1.038 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04232/0.3975, allocations: 17.51 MB / 1.055 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000254/0.3978, allocations: 275.5 kB / 1.055 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.604/3.002, allocations: 4 kB / 1.055 GB, free: 12.96 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)