Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7422/0.7422, allocations: 128.7 MB / 143.7 MB, free: 2.328 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 184.6 kB / 173.7 MB, free: 6.145 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.761/1.761, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001032/0.001033, allocations: 88.22 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.0003532, allocations: 14.19 kB / 0.5604 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1742, allocations: 76.77 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7853/0.9595, allocations: 356.9 MB / 0.984 GB, free: 0.7852 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003841/0.96, allocations: 100.4 kB / 0.9841 GB, free: 0.7305 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.8972/1.857, allocations: 233.5 MB / 1.212 GB, free: 36.89 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.623e-06/1.857, allocations: 4 kB / 1.212 GB, free: 36.89 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001012/1.857, allocations: 19.94 kB / 1.212 GB, free: 36.87 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002693/1.86, allocations: 1.068 MB / 1.213 GB, free: 35.75 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/1.86, allocations: 8.031 kB / 1.213 GB, free: 35.74 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002097/1.86, allocations: 82.53 kB / 1.213 GB, free: 35.65 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001649/1.862, allocations: 258.8 kB / 1.214 GB, free: 35.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/1.863, allocations: 0.5151 MB / 1.214 GB, free: 34.84 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.612e-05/1.863, allocations: 37 kB / 1.214 GB, free: 34.8 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/1.863, allocations: 51.95 kB / 1.214 GB, free: 34.75 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004515/1.868, allocations: 1.156 MB / 1.215 GB, free: 33.53 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/1.868, allocations: 7.938 kB / 1.215 GB, free: 33.52 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.106e-05/1.868, allocations: 20 kB / 1.215 GB, free: 33.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/1.868, allocations: 12 kB / 1.215 GB, free: 33.49 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00466/1.873, allocations: 1.085 MB / 1.216 GB, free: 32.41 MB / 0.6511 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.004364/1.877, allocations: 3.251 MB / 1.22 GB, free: 28.96 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004177/1.881, allocations: 0.8421 MB / 1.22 GB, free: 28.11 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003113/1.882, allocations: 352.4 kB / 1.221 GB, free: 27.69 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/1.882, allocations: 42.55 kB / 1.221 GB, free: 27.64 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=35): time 2.495e-06/1.882, allocations: 0 / 1.221 GB, free: 27.64 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35): time 0.009632/1.891, allocations: 1.943 MB / 1.223 GB, free: 25.67 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/1.891, allocations: 59.44 kB / 1.223 GB, free: 25.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007668/1.892, allocations: 0.5031 MB / 1.223 GB, free: 25.09 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001222/1.892, allocations: 37.7 kB / 1.223 GB, free: 25.05 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/1.893, allocations: 332.4 kB / 1.224 GB, free: 24.71 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/1.893, allocations: 126.2 kB / 1.224 GB, free: 24.59 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.347e-05/1.893, allocations: 12 kB / 1.224 GB, free: 24.58 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001224/1.893, allocations: 374.8 kB / 1.224 GB, free: 24.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/1.894, allocations: 413 kB / 1.224 GB, free: 23.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/1.895, allocations: 0.5822 MB / 1.225 GB, free: 23.14 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/1.897, allocations: 435.2 kB / 1.225 GB, free: 22.72 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/1.897, allocations: 4 kB / 1.225 GB, free: 22.72 MB / 0.6511 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003198/1.9, allocations: 1.14 MB / 1.226 GB, free: 21.57 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000414/1.9, allocations: 1.751 MB / 1.228 GB, free: 19.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/1.9, allocations: 4 kB / 1.228 GB, free: 19.67 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007263/1.901, allocations: 220.7 kB / 1.228 GB, free: 19.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/1.902, allocations: 231.6 kB / 1.229 GB, free: 19.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001857/1.904, allocations: 0.81 MB / 1.229 GB, free: 18.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/1.906, allocations: 187.2 kB / 1.23 GB, free: 18.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/1.906, allocations: 39.95 kB / 1.23 GB, free: 18.17 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/1.906, allocations: 5.875 kB / 1.23 GB, free: 18.16 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002768/1.909, allocations: 0.9977 MB / 1.231 GB, free: 17.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/1.909, allocations: 4.047 kB / 1.231 GB, free: 17.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/1.909, allocations: 11.98 kB / 1.231 GB, free: 17.15 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/1.91, allocations: 256 kB / 1.231 GB, free: 16.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.796e-05/1.91, allocations: 8 kB / 1.231 GB, free: 16.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/1.912, allocations: 163.4 kB / 1.231 GB, free: 16.73 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/1.912, allocations: 43.95 kB / 1.231 GB, free: 16.69 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 (69): * Single equations (assignments): 68 * 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.000596/1.912, allocations: 265 kB / 1.231 GB, free: 16.42 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002658/1.913, allocations: 67.11 kB / 1.231 GB, free: 16.35 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00337/1.916, allocations: 1.051 MB / 1.232 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/1.916, allocations: 8 kB / 1.232 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/1.916, allocations: 0 / 1.232 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/1.916, allocations: 7.984 kB / 1.232 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007238/1.923, allocations: 2.157 MB / 1.235 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/1.923, allocations: 0 / 1.235 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008698/1.924, allocations: 155.8 kB / 1.235 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007272/1.925, allocations: 216.7 kB / 1.235 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.507e-05/1.925, allocations: 19.97 kB / 1.235 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001813/1.927, allocations: 0.8178 MB / 1.236 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.927, allocations: 3.938 kB / 1.236 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005253/1.932, allocations: 1.366 MB / 1.237 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005135/1.933, allocations: 223.9 kB / 1.237 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002027/1.933, allocations: 8 kB / 1.237 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/1.934, allocations: 127.9 kB / 1.237 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/1.934, allocations: 31.95 kB / 1.237 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.926e-05/1.934, allocations: 23.97 kB / 1.237 GB, free: 10 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000547/1.935, allocations: 403 kB / 1.238 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/1.935, allocations: 0 / 1.238 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001717/1.937, allocations: 399.5 kB / 1.238 GB, free: 9.223 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 Backend phase and start with SimCode phase: time 0.005803/1.942, allocations: 2.16 MB / 1.24 GB, free: 7.039 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005286/1.948, allocations: 1.554 MB / 1.242 GB, free: 5.492 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/1.948, allocations: 0 / 1.242 GB, free: 5.492 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002181/1.95, allocations: 0.5347 MB / 1.242 GB, free: 4.957 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/1.952, allocations: 264 kB / 1.243 GB, free: 4.711 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3492/2.301, allocations: 4.732 MB / 1.247 GB, free: 165.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/2.301, allocations: 0.9135 MB / 1.248 GB, free: 165.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001279/2.303, allocations: 163 kB / 1.248 GB, free: 165 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004594/2.303, allocations: 254.1 kB / 1.249 GB, free: 165 MB / 0.6511 GB Notification: Performance of SimCode: time 1.353e-06/2.303, allocations: 0 / 1.249 GB, free: 165 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04864/2.352, allocations: 21.62 MB / 1.27 GB, free: 164.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/2.352, allocations: 274.8 kB / 1.27 GB, free: 164.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.838/5.19, allocations: 0 / 1.27 GB, free: 164.4 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)