Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.591/1.591, allocations: 249.3 MB / 261.8 MB, free: 5.812 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 180.8 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.635/1.635, allocations: 205.2 MB / 0.572 GB, free: 10.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009589/0.0009589, allocations: 78.5 kB / 0.6764 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.676e-05/3.688e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2211, allocations: 106.3 MB / 0.8919 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.665/1.886, allocations: 389.1 MB / 1.272 GB, free: 257.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003812/1.886, allocations: 92.97 kB / 1.272 GB, free: 257.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4725/2.359, allocations: 229.6 MB / 1.496 GB, free: 99.98 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.984e-06/2.359, allocations: 0 / 1.496 GB, free: 99.98 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.551e-05/2.359, allocations: 23.98 kB / 1.496 GB, free: 99.96 MB / 0.8698 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.001913/2.361, allocations: 0.9695 MB / 1.497 GB, free: 98.94 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/2.361, allocations: 12.03 kB / 1.497 GB, free: 98.93 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.649e-05/2.361, allocations: 90.42 kB / 1.497 GB, free: 98.83 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/2.361, allocations: 82.97 kB / 1.497 GB, free: 98.75 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008194/2.362, allocations: 0.4996 MB / 1.498 GB, free: 98.21 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/2.362, allocations: 40.94 kB / 1.498 GB, free: 98.17 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.808e-05/2.362, allocations: 52 kB / 1.498 GB, free: 98.12 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007998/2.363, allocations: 0.5691 MB / 1.498 GB, free: 97.49 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/2.363, allocations: 0 / 1.498 GB, free: 97.49 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.991e-05/2.363, allocations: 20 kB / 1.498 GB, free: 97.47 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/2.363, allocations: 15.98 kB / 1.498 GB, free: 97.45 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006233/2.364, allocations: 394.8 kB / 1.499 GB, free: 97.06 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.00332/2.367, allocations: 3.211 MB / 1.502 GB, free: 93.66 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004597/2.367, allocations: 281.7 kB / 1.502 GB, free: 93.37 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/2.368, allocations: 184.9 kB / 1.502 GB, free: 93.19 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003306/2.368, allocations: 352.4 kB / 1.503 GB, free: 92.77 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/2.368, allocations: 38.56 kB / 1.503 GB, free: 92.72 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=38): time 4.138e-06/2.368, allocations: 0 / 1.503 GB, free: 92.72 MB / 0.8698 GB Notification: Performance of matching and sorting (n=38): time 0.0009547/2.369, allocations: 418 kB / 1.503 GB, free: 92.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/2.369, allocations: 63.11 kB / 1.503 GB, free: 92.23 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006147/2.37, allocations: 0.4995 MB / 1.504 GB, free: 91.73 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.234e-05/2.37, allocations: 37.64 kB / 1.504 GB, free: 91.68 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/2.37, allocations: 328.4 kB / 1.504 GB, free: 91.36 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.873e-05/2.37, allocations: 130.1 kB / 1.504 GB, free: 91.23 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/2.37, allocations: 20 kB / 1.504 GB, free: 91.21 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001525/2.37, allocations: 370.8 kB / 1.505 GB, free: 90.84 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/2.371, allocations: 161.5 kB / 1.505 GB, free: 90.68 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004159/2.371, allocations: 353.6 kB / 1.505 GB, free: 90.26 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003374/2.371, allocations: 197.5 kB / 1.505 GB, free: 90.07 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/2.371, allocations: 0 / 1.505 GB, free: 90.07 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009928/2.372, allocations: 0.6131 MB / 1.506 GB, free: 89.44 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005071/2.373, allocations: 1.748 MB / 1.508 GB, free: 87.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/2.373, allocations: 8 kB / 1.508 GB, free: 87.55 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006604/2.374, allocations: 132.8 kB / 1.508 GB, free: 87.41 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006593/2.374, allocations: 155.8 kB / 1.508 GB, free: 87.26 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005452/2.375, allocations: 0.6264 MB / 1.508 GB, free: 86.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008365/2.376, allocations: 99.39 kB / 1.509 GB, free: 86.51 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-05/2.376, allocations: 35.98 kB / 1.509 GB, free: 86.48 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/2.376, allocations: 5.719 kB / 1.509 GB, free: 86.47 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007801/2.376, allocations: 0.5135 MB / 1.509 GB, free: 85.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/2.376, allocations: 7.938 kB / 1.509 GB, free: 85.95 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/2.377, allocations: 8 kB / 1.509 GB, free: 85.95 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005458/2.377, allocations: 164.3 kB / 1.509 GB, free: 85.79 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/2.377, allocations: 11.94 kB / 1.509 GB, free: 85.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006504/2.378, allocations: 99.47 kB / 1.509 GB, free: 85.68 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.364e-05/2.378, allocations: 31.98 kB / 1.509 GB, free: 85.64 MB / 0.8698 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 () * 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.0001637/2.378, allocations: 136.8 kB / 1.51 GB, free: 85.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/2.378, allocations: 67.14 kB / 1.51 GB, free: 85.44 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/2.379, allocations: 0.5654 MB / 1.51 GB, free: 84.86 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/2.379, allocations: 4 kB / 1.51 GB, free: 84.86 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/2.379, allocations: 0 / 1.51 GB, free: 84.86 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/2.379, allocations: 3.984 kB / 1.51 GB, free: 84.85 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001905/2.381, allocations: 1.266 MB / 1.511 GB, free: 83.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/2.381, allocations: 0 / 1.511 GB, free: 83.52 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000336/2.381, allocations: 87.88 kB / 1.511 GB, free: 83.43 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003589/2.382, allocations: 132.8 kB / 1.512 GB, free: 83.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.221e-05/2.382, allocations: 15.98 kB / 1.512 GB, free: 83.28 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004288/2.382, allocations: 0.6187 MB / 1.512 GB, free: 82.64 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/2.382, allocations: 0 / 1.512 GB, free: 82.64 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000803/2.383, allocations: 0.6509 MB / 1.513 GB, free: 81.94 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002798/2.383, allocations: 196 kB / 1.513 GB, free: 81.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.299e-05/2.384, allocations: 16.06 kB / 1.513 GB, free: 81.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004457/2.384, allocations: 59.84 kB / 1.513 GB, free: 81.65 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.365e-05/2.384, allocations: 35.92 kB / 1.513 GB, free: 81.62 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.781e-05/2.384, allocations: 19.98 kB / 1.513 GB, free: 81.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004358/2.385, allocations: 387.1 kB / 1.514 GB, free: 81.22 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/2.385, allocations: 0 / 1.514 GB, free: 81.22 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001428/2.386, allocations: 415.5 kB / 1.514 GB, free: 80.82 MB / 0.8698 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 () * 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.002023/2.388, allocations: 1.711 MB / 1.516 GB, free: 79.05 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001458/2.389, allocations: 0.7677 MB / 1.516 GB, free: 78.29 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/2.389, allocations: 7.938 kB / 1.516 GB, free: 78.28 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004511/2.39, allocations: 241.1 kB / 1.517 GB, free: 78.05 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/2.391, allocations: 269.7 kB / 1.517 GB, free: 77.79 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/2.393, allocations: 0.9338 MB / 1.518 GB, free: 76.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/2.394, allocations: 0.9247 MB / 1.519 GB, free: 75.84 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007055/2.395, allocations: 176.8 kB / 1.519 GB, free: 75.67 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002771/2.395, allocations: 235.3 kB / 1.519 GB, free: 75.44 MB / 0.8698 GB Notification: Performance of SimCode: time 9.22e-07/2.395, allocations: 0 / 1.519 GB, free: 75.44 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03769/2.433, allocations: 20.45 MB / 1.539 GB, free: 55.26 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/2.433, allocations: 248.6 kB / 1.539 GB, free: 54.93 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.917/5.35, allocations: 0 / 1.539 GB, free: 54.93 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)