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.706/0.706, allocations: 127.4 MB / 134.9 MB, free: 3.727 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.001015/0.001015, allocations: 180.8 kB / 164.6 MB, free: 6.52 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.29/1.29, allocations: 205.2 MB / 399.5 MB, free: 5.938 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.0008051/0.0008051, allocations: 82.41 kB / 476.7 MB, free: 8.668 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.831e-05/1.833e-05, allocations: 7.984 kB / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1229, allocations: 76.76 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9803/1.103, allocations: 356.5 MB / 0.9697 GB, free: 163 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/1.104, allocations: 94.31 kB / 0.9698 GB, free: 162.9 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.7478/1.851, allocations: 231 MB / 1.195 GB, free: 163.6 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.342e-06/1.851, allocations: 0 / 1.195 GB, free: 163.6 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.633e-05/1.852, allocations: 19.81 kB / 1.195 GB, free: 163.6 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001528/1.853, allocations: 0.9543 MB / 1.196 GB, free: 163 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/1.853, allocations: 10.81 kB / 1.196 GB, free: 163 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001415/1.855, allocations: 258.1 kB / 1.197 GB, free: 162.9 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007732/1.855, allocations: 0.5048 MB / 1.197 GB, free: 162.6 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/1.855, allocations: 15.5 kB / 1.197 GB, free: 162.6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.215e-05/1.855, allocations: 31.25 kB / 1.197 GB, free: 162.6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005935/1.856, allocations: 397.5 kB / 1.198 GB, free: 162.4 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006495/1.857, allocations: 0.5297 MB / 1.198 GB, free: 162.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/1.857, allocations: 0 / 1.198 GB, free: 162.1 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.248e-05/1.857, allocations: 3.562 kB / 1.198 GB, free: 162.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/1.857, allocations: 19.06 kB / 1.198 GB, free: 162.1 MB / 0.6355 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.00318/1.86, allocations: 3.354 MB / 1.201 GB, free: 159.4 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004755/1.86, allocations: 290.1 kB / 1.202 GB, free: 159.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002344/1.861, allocations: 180 kB / 1.202 GB, free: 159.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001334/1.861, allocations: 179.3 kB / 1.202 GB, free: 159 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/1.861, allocations: 44.48 kB / 1.202 GB, free: 159 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=34): time 1.463e-06/1.861, allocations: 0 / 1.202 GB, free: 159 MB / 0.6355 GB Notification: Performance of matching and sorting (n=34): time 0.004919/1.866, allocations: 1.11 MB / 1.203 GB, free: 158.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.166e-05/1.866, allocations: 51.41 kB / 1.203 GB, free: 158.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004276/1.866, allocations: 429.3 kB / 1.204 GB, free: 158.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.309e-05/1.866, allocations: 33.52 kB / 1.204 GB, free: 158.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/1.867, allocations: 342.1 kB / 1.204 GB, free: 158.1 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.444e-05/1.867, allocations: 112.9 kB / 1.204 GB, free: 158 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-05/1.867, allocations: 0 / 1.204 GB, free: 158 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.102e-05/1.867, allocations: 369.3 kB / 1.204 GB, free: 157.7 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000334/1.867, allocations: 227.3 kB / 1.205 GB, free: 157.6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004042/1.868, allocations: 411 kB / 1.205 GB, free: 157.3 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002124/1.87, allocations: 0.5688 MB / 1.206 GB, free: 157.1 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/1.87, allocations: 0 / 1.206 GB, free: 157.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002908/1.873, allocations: 1.047 MB / 1.207 GB, free: 156.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003185/1.873, allocations: 1.745 MB / 1.208 GB, free: 154.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/1.873, allocations: 6.562 kB / 1.208 GB, free: 154.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004984/1.873, allocations: 190.1 kB / 1.208 GB, free: 154.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009962/1.874, allocations: 201.7 kB / 1.209 GB, free: 154.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/1.876, allocations: 0.7751 MB / 1.209 GB, free: 154.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/1.877, allocations: 166 kB / 1.21 GB, free: 154.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.878e-05/1.877, allocations: 35.52 kB / 1.21 GB, free: 154.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/1.877, allocations: 9.281 kB / 1.21 GB, free: 154.2 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002699/1.88, allocations: 0.9107 MB / 1.211 GB, free: 154 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.88, allocations: 3.812 kB / 1.211 GB, free: 154 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/1.88, allocations: 7.562 kB / 1.211 GB, free: 154 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/1.881, allocations: 243 kB / 1.211 GB, free: 154 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/1.881, allocations: 10.94 kB / 1.211 GB, free: 154 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/1.882, allocations: 144.6 kB / 1.211 GB, free: 153.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.266e-05/1.882, allocations: 48.19 kB / 1.211 GB, free: 153.9 MB / 0.6355 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: valIndFromMflow.m_flow_x:VARIABLE(unit = "kg/s" protected = true ) type: Real 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 (63): * Single equations (assignments): 62 * 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.0002437/1.882, allocations: 120.7 kB / 1.211 GB, free: 153.8 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002679/1.885, allocations: 0.8443 MB / 1.212 GB, free: 153.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/1.885, allocations: 57.22 kB / 1.212 GB, free: 153.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00288/1.888, allocations: 0.9422 MB / 1.213 GB, free: 153.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/1.888, allocations: 3.938 kB / 1.213 GB, free: 153.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/1.888, allocations: 0 / 1.213 GB, free: 153.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/1.888, allocations: 3.938 kB / 1.213 GB, free: 153.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006354/1.895, allocations: 2.057 MB / 1.215 GB, free: 152.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/1.895, allocations: 3.938 kB / 1.215 GB, free: 152.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000798/1.895, allocations: 150.7 kB / 1.215 GB, free: 152.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003403/1.896, allocations: 166 kB / 1.215 GB, free: 152.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.452e-05/1.896, allocations: 18.42 kB / 1.215 GB, free: 152.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/1.898, allocations: 0.8374 MB / 1.216 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/1.898, allocations: 0 / 1.216 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004773/1.902, allocations: 1.311 MB / 1.217 GB, free: 151.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004903/1.903, allocations: 211.6 kB / 1.217 GB, free: 151.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/1.903, allocations: 3.312 kB / 1.217 GB, free: 151.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/1.904, allocations: 122.9 kB / 1.218 GB, free: 151.1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.197e-05/1.904, allocations: 32.8 kB / 1.218 GB, free: 151.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.25e-05/1.904, allocations: 22.67 kB / 1.218 GB, free: 151.1 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004033/1.905, allocations: 327.2 kB / 1.218 GB, free: 150.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.31e-07/1.905, allocations: 0 / 1.218 GB, free: 150.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001524/1.906, allocations: 371.7 kB / 1.218 GB, free: 150.9 MB / 0.6355 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 () * 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.005516/1.912, allocations: 2.111 MB / 1.22 GB, free: 149.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001802/1.914, allocations: 0.9174 MB / 1.221 GB, free: 149.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.914, allocations: 0 / 1.221 GB, free: 149.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001319/1.915, allocations: 374 kB / 1.222 GB, free: 149.4 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/1.917, allocations: 226.4 kB / 1.222 GB, free: 149.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/1.919, allocations: 0.9143 MB / 1.223 GB, free: 148.9 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/1.919, allocations: 0.9118 MB / 1.224 GB, free: 148.2 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001054/1.92, allocations: 182.8 kB / 1.224 GB, free: 148.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003845/1.921, allocations: 236.6 kB / 1.224 GB, free: 148 MB / 0.6355 GB Notification: Performance of SimCode: time 8.52e-07/1.921, allocations: 3.938 kB / 1.224 GB, free: 148 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04476/1.965, allocations: 20.06 MB / 1.244 GB, free: 139.1 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001545/1.966, allocations: 207.5 kB / 1.244 GB, free: 138.8 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.576/4.541, allocations: 0 / 1.244 GB, free: 138.8 MB / 0.6355 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)