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: translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7672/0.7672, allocations: 127.4 MB / 134.9 MB, free: 3.496 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.001026/0.001026, allocations: 187.1 kB / 164.7 MB, free: 11.62 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.475/1.475, allocations: 205.2 MB / 399.5 MB, free: 13.54 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.0008127/0.0008127, allocations: 95.97 kB / 476.7 MB, free: 1.52 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.128e-05/2.13e-05, allocations: 4.906 kB / 0.5466 GB, free: 95.41 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1592, allocations: 76.77 MB / 0.6215 GB, free: 43.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8179/0.9772, allocations: 356.2 MB / 0.9693 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.9775, allocations: 94.17 kB / 0.9694 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.7977/1.775, allocations: 231 MB / 1.195 GB, free: 65.46 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.663e-06/1.775, allocations: 0 / 1.195 GB, free: 65.46 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.448e-05/1.775, allocations: 16 kB / 1.195 GB, free: 65.44 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.001531/1.777, allocations: 0.9464 MB / 1.196 GB, free: 64.45 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/1.777, allocations: 8.031 kB / 1.196 GB, free: 64.44 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/1.778, allocations: 246.8 kB / 1.196 GB, free: 64.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007292/1.779, allocations: 0.5116 MB / 1.197 GB, free: 63.64 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/1.779, allocations: 16 kB / 1.197 GB, free: 63.63 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.371e-05/1.779, allocations: 31.94 kB / 1.197 GB, free: 63.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005905/1.78, allocations: 398.4 kB / 1.197 GB, free: 63.21 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000671/1.78, allocations: 0.5289 MB / 1.198 GB, free: 62.61 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/1.78, allocations: 4 kB / 1.198 GB, free: 62.61 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.149e-05/1.78, allocations: 0 / 1.198 GB, free: 62.61 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/1.78, allocations: 12 kB / 1.198 GB, free: 62.6 MB / 0.6511 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.003049/1.783, allocations: 3.365 MB / 1.201 GB, free: 59.01 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004833/1.784, allocations: 287.5 kB / 1.201 GB, free: 58.72 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/1.784, allocations: 193.3 kB / 1.201 GB, free: 58.53 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001425/1.784, allocations: 174.5 kB / 1.202 GB, free: 58.32 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/1.784, allocations: 34.84 kB / 1.202 GB, free: 58.28 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=34): time 1.493e-06/1.784, allocations: 0 / 1.202 GB, free: 58.28 MB / 0.6511 GB Notification: Performance of matching and sorting (n=34): time 0.004678/1.789, allocations: 1.109 MB / 1.203 GB, free: 57.16 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.318e-05/1.789, allocations: 55.41 kB / 1.203 GB, free: 57.09 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000406/1.79, allocations: 430.3 kB / 1.203 GB, free: 56.67 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.582e-05/1.79, allocations: 29.7 kB / 1.203 GB, free: 56.63 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/1.79, allocations: 348.1 kB / 1.204 GB, free: 56.29 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.831e-05/1.79, allocations: 110.4 kB / 1.204 GB, free: 56.18 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/1.79, allocations: 0 / 1.204 GB, free: 56.18 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.85e-05/1.79, allocations: 366.8 kB / 1.204 GB, free: 55.81 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003195/1.79, allocations: 229.1 kB / 1.204 GB, free: 55.59 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003856/1.791, allocations: 402.3 kB / 1.205 GB, free: 55.12 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002046/1.793, allocations: 0.5744 MB / 1.205 GB, free: 54.54 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/1.793, allocations: 0 / 1.205 GB, free: 54.54 MB / 0.6511 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00278/1.796, allocations: 1.05 MB / 1.206 GB, free: 53.48 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003136/1.796, allocations: 1.744 MB / 1.208 GB, free: 51.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/1.796, allocations: 4 kB / 1.208 GB, free: 51.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004946/1.796, allocations: 188.6 kB / 1.208 GB, free: 51.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009579/1.797, allocations: 211.7 kB / 1.208 GB, free: 51.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/1.798, allocations: 0.7592 MB / 1.209 GB, free: 50.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/1.8, allocations: 167.3 kB / 1.209 GB, free: 50.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.036e-05/1.8, allocations: 43.95 kB / 1.209 GB, free: 50.21 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/1.8, allocations: 5.719 kB / 1.209 GB, free: 50.21 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002548/1.802, allocations: 0.9038 MB / 1.21 GB, free: 49.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/1.802, allocations: 8.656 kB / 1.21 GB, free: 49.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/1.802, allocations: 8 kB / 1.21 GB, free: 49.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/1.803, allocations: 247.7 kB / 1.21 GB, free: 49.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/1.803, allocations: 11.94 kB / 1.21 GB, free: 49.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/1.805, allocations: 147.5 kB / 1.211 GB, free: 48.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.777e-05/1.805, allocations: 35.97 kB / 1.211 GB, free: 48.86 MB / 0.6511 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.0002277/1.805, allocations: 128.7 kB / 1.211 GB, free: 48.72 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/1.805, allocations: 59.25 kB / 1.211 GB, free: 48.66 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002787/1.808, allocations: 0.9411 MB / 1.212 GB, free: 47.71 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/1.808, allocations: 4 kB / 1.212 GB, free: 47.71 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.808, allocations: 0 / 1.212 GB, free: 47.71 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/1.808, allocations: 7.984 kB / 1.212 GB, free: 47.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005913/1.814, allocations: 2.056 MB / 1.214 GB, free: 45.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/1.814, allocations: 0 / 1.214 GB, free: 45.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007722/1.815, allocations: 155.8 kB / 1.214 GB, free: 45.44 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003276/1.815, allocations: 160.7 kB / 1.214 GB, free: 45.28 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.598e-05/1.815, allocations: 15.97 kB / 1.214 GB, free: 45.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/1.817, allocations: 0.8449 MB / 1.215 GB, free: 44.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.817, allocations: 80 / 1.215 GB, free: 44.39 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004356/1.821, allocations: 1.323 MB / 1.216 GB, free: 43.05 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003721/1.821, allocations: 204.1 kB / 1.216 GB, free: 42.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/1.822, allocations: 4 kB / 1.216 GB, free: 42.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009651/1.823, allocations: 119.9 kB / 1.216 GB, free: 42.71 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.666e-05/1.823, allocations: 27.95 kB / 1.216 GB, free: 42.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.708e-05/1.823, allocations: 31.89 kB / 1.216 GB, free: 42.65 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003823/1.823, allocations: 314.9 kB / 1.217 GB, free: 42.35 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.823, allocations: 0 / 1.217 GB, free: 42.35 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00136/1.824, allocations: 367.4 kB / 1.217 GB, free: 41.99 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 () * 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.000716/1.825, allocations: 357.3 kB / 1.217 GB, free: 41.64 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001538/1.827, allocations: 0.9219 MB / 1.218 GB, free: 40.72 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.827, allocations: 0 / 1.218 GB, free: 40.72 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001254/1.828, allocations: 367.8 kB / 1.219 GB, free: 40.36 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/1.829, allocations: 241 kB / 1.219 GB, free: 40.13 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/1.831, allocations: 0.7642 MB / 1.22 GB, free: 39.34 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/1.831, allocations: 0.9085 MB / 1.221 GB, free: 38.4 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0009214/1.832, allocations: 184.3 kB / 1.221 GB, free: 38.22 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002324/1.832, allocations: 59.39 kB / 1.221 GB, free: 38.16 MB / 0.6511 GB Notification: Performance of SimCode: time 1.032e-06/1.832, allocations: 0 / 1.221 GB, free: 38.16 MB / 0.6511 GB Notification: Performance of Templates: time 0.01956/1.852, allocations: 14.93 MB / 1.235 GB, free: 23.35 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)