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.779/1.779, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001114/0.001114, allocations: 180.9 kB / 361.4 MB, free: 6.844 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.826/1.826, allocations: 205.3 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008653/0.0008653, allocations: 100.2 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.502e-05/2.503e-05, allocations: 4 kB / 0.8518 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8227/0.8228, allocations: 115.3 MB / 0.9644 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.164/1.987, allocations: 396 MB / 1.351 GB, free: 170.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/1.987, allocations: 94.69 kB / 1.351 GB, free: 170.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.452/2.439, allocations: 234.1 MB / 1.58 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.913e-06/2.439, allocations: 4 kB / 1.58 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.559e-05/2.439, allocations: 20 kB / 1.58 GB, free: 13.29 MB / 0.9167 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.001852/2.441, allocations: 0.9663 MB / 1.581 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/2.441, allocations: 12.03 kB / 1.581 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/2.441, allocations: 83.02 kB / 1.581 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000885/2.442, allocations: 0.4999 MB / 1.581 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/2.442, allocations: 15.94 kB / 1.581 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.857e-05/2.442, allocations: 36 kB / 1.582 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006456/2.443, allocations: 350.5 kB / 1.582 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007813/2.444, allocations: 0.5094 MB / 1.582 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/2.444, allocations: 7.938 kB / 1.582 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.852e-05/2.444, allocations: 0 / 1.582 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/2.444, allocations: 12 kB / 1.582 GB, free: 10.66 MB / 0.9167 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.003443/2.447, allocations: 3.122 MB / 1.585 GB, free: 7.352 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004532/2.448, allocations: 279.6 kB / 1.586 GB, free: 7.07 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002676/2.448, allocations: 176.8 kB / 1.586 GB, free: 6.895 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003418/2.449, allocations: 348.4 kB / 1.586 GB, free: 6.48 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/2.449, allocations: 38.56 kB / 1.586 GB, free: 6.434 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=38): time 2.254e-06/2.449, allocations: 4 kB / 1.586 GB, free: 6.43 MB / 0.9167 GB Notification: Performance of matching and sorting (n=38): time 0.002171/2.451, allocations: 0.6693 MB / 1.587 GB, free: 5.75 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/2.451, allocations: 59.36 kB / 1.587 GB, free: 5.68 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004911/2.451, allocations: 430.4 kB / 1.587 GB, free: 5.254 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/2.451, allocations: 25.7 kB / 1.587 GB, free: 5.223 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/2.452, allocations: 336.2 kB / 1.588 GB, free: 4.887 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 9.981e-05/2.452, allocations: 122.1 kB / 1.588 GB, free: 4.766 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/2.452, allocations: 0 / 1.588 GB, free: 4.766 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001588/2.452, allocations: 370.8 kB / 1.588 GB, free: 4.395 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/2.452, allocations: 149.1 kB / 1.588 GB, free: 4.25 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004015/2.453, allocations: 322.3 kB / 1.589 GB, free: 3.859 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/2.454, allocations: 440.4 kB / 1.589 GB, free: 3.43 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/2.454, allocations: 3.938 kB / 1.589 GB, free: 3.426 MB / 0.9167 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002107/2.456, allocations: 0.7887 MB / 1.59 GB, free: 2.625 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007941/2.457, allocations: 1.752 MB / 1.592 GB, free: 0.7383 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/2.457, allocations: 4 kB / 1.592 GB, free: 0.7344 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004478/2.457, allocations: 112.8 kB / 1.592 GB, free: 0.6211 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005524/2.458, allocations: 135.8 kB / 1.592 GB, free: 500 kB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001006/2.459, allocations: 0.7045 MB / 1.592 GB, free: 15.76 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007148/2.46, allocations: 91.38 kB / 1.593 GB, free: 15.67 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.89e-05/2.46, allocations: 31.98 kB / 1.593 GB, free: 15.64 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/2.46, allocations: 4 kB / 1.593 GB, free: 15.63 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001886/2.462, allocations: 0.6737 MB / 1.593 GB, free: 14.96 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/2.462, allocations: 4 kB / 1.593 GB, free: 14.95 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/2.462, allocations: 8 kB / 1.593 GB, free: 14.95 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005907/2.462, allocations: 156.1 kB / 1.593 GB, free: 14.79 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/2.462, allocations: 15.98 kB / 1.593 GB, free: 14.78 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006079/2.463, allocations: 75.53 kB / 1.593 GB, free: 14.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.834e-05/2.463, allocations: 31.98 kB / 1.594 GB, free: 14.67 MB / 0.9323 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 (64): * Single equations (assignments): 63 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.000196/2.463, allocations: 124.8 kB / 1.594 GB, free: 14.54 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001847/2.465, allocations: 0.6219 MB / 1.594 GB, free: 13.91 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.451e-05/2.465, allocations: 63.2 kB / 1.594 GB, free: 13.85 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/2.467, allocations: 0.7525 MB / 1.595 GB, free: 13.09 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/2.467, allocations: 8 kB / 1.595 GB, free: 13.08 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/2.467, allocations: 0 / 1.595 GB, free: 13.08 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/2.467, allocations: 3.984 kB / 1.595 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003253/2.471, allocations: 1.426 MB / 1.596 GB, free: 11.59 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/2.471, allocations: 0 / 1.596 GB, free: 11.59 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003669/2.471, allocations: 95.88 kB / 1.597 GB, free: 11.49 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003684/2.471, allocations: 120.8 kB / 1.597 GB, free: 11.37 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.974e-05/2.472, allocations: 4 kB / 1.597 GB, free: 11.37 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009427/2.472, allocations: 0.6929 MB / 1.597 GB, free: 10.65 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/2.472, allocations: 3.984 kB / 1.597 GB, free: 10.64 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/2.474, allocations: 0.8735 MB / 1.598 GB, free: 9.723 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002822/2.475, allocations: 192.1 kB / 1.598 GB, free: 9.516 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.578e-05/2.475, allocations: 3.953 kB / 1.598 GB, free: 9.512 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004464/2.475, allocations: 55.84 kB / 1.598 GB, free: 9.457 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.794e-05/2.475, allocations: 39.89 kB / 1.598 GB, free: 9.418 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.256e-05/2.475, allocations: 16 kB / 1.598 GB, free: 9.402 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003778/2.476, allocations: 322.9 kB / 1.599 GB, free: 9.09 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.01e-07/2.476, allocations: 0 / 1.599 GB, free: 9.09 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001471/2.477, allocations: 387.2 kB / 1.599 GB, free: 8.711 MB / 0.9323 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.003462/2.481, allocations: 1.923 MB / 1.601 GB, free: 6.738 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001683/2.482, allocations: 0.7034 MB / 1.602 GB, free: 6.031 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/2.482, allocations: 0 / 1.602 GB, free: 6.031 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005044/2.483, allocations: 233.1 kB / 1.602 GB, free: 5.805 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/2.484, allocations: 248.6 kB / 1.602 GB, free: 5.562 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/2.487, allocations: 0.8823 MB / 1.603 GB, free: 4.633 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004729/2.487, allocations: 0.9245 MB / 1.604 GB, free: 3.684 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0007734/2.488, allocations: 164.7 kB / 1.604 GB, free: 3.523 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003471/2.488, allocations: 235.3 kB / 1.604 GB, free: 3.293 MB / 0.9323 GB Notification: Performance of SimCode: time 1.042e-06/2.488, allocations: 3.938 kB / 1.604 GB, free: 3.289 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6289/3.117, allocations: 17.53 MB / 1.621 GB, free: 246.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/3.117, allocations: 207.3 kB / 1.622 GB, free: 246.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.675/5.793, allocations: 1 kB / 1.622 GB, free: 246.3 MB / 0.9323 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)