Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.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.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4") translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7536/0.7536, allocations: 127.4 MB / 134.9 MB, free: 3.477 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.001052/0.001052, allocations: 179 kB / 164.6 MB, free: 11.59 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.463/1.463, allocations: 205.2 MB / 399.5 MB, free: 13.53 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.0008186/0.0008186, allocations: 98.47 kB / 476.7 MB, free: 1.508 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.995e-05/2.007e-05, allocations: 3.844 kB / 0.5466 GB, free: 95.36 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1355, allocations: 76.77 MB / 0.6215 GB, free: 43.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.223/1.358, allocations: 428.2 MB / 1.04 GB, free: 181.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/1.358, allocations: 102.8 kB / 1.04 GB, free: 181.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 42.75/44.11, allocations: 9.891 GB / 10.93 GB, free: 77.55 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.134e-06/44.11, allocations: 0 / 10.93 GB, free: 77.55 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.003795/44.12, allocations: 375.3 kB / 10.93 GB, free: 77.48 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.05024/44.17, allocations: 11.98 MB / 10.94 GB, free: 72.14 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/44.17, allocations: 9.75 kB / 10.94 GB, free: 72.14 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01601/44.18, allocations: 2.335 MB / 10.95 GB, free: 71.25 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0681/44.25, allocations: 21.28 MB / 10.97 GB, free: 68.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006438/44.25, allocations: 219.2 kB / 10.97 GB, free: 68.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00461/44.26, allocations: 488.5 kB / 10.97 GB, free: 68.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03116/44.29, allocations: 18.2 MB / 10.98 GB, free: 68.76 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03544/44.32, allocations: 12.85 MB / 11 GB, free: 67.99 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004909/44.32, allocations: 13.03 kB / 11 GB, free: 67.98 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003722/44.33, allocations: 8.562 kB / 11 GB, free: 67.98 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001871/44.33, allocations: 182.9 kB / 11 GB, free: 67.98 MB / 0.9323 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.1305/44.46, allocations: 73.1 MB / 11.07 GB, free: 19.49 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01504/44.47, allocations: 10.17 MB / 11.08 GB, free: 10.37 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0107/44.48, allocations: 8.727 MB / 11.09 GB, free: 2.512 MB / 0.9323 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 evalFunc (simulation): time 0.9518/45.44, allocations: 27.97 MB / 11.11 GB, free: 102.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01028/45.45, allocations: 7.933 MB / 11.12 GB, free: 102.7 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04369/45.49, allocations: 14.85 MB / 11.14 GB, free: 102.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=424): time 5.527e-05/45.49, allocations: 3.094 kB / 11.14 GB, free: 102.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=426): time 0.1488/45.64, allocations: 47.34 MB / 11.18 GB, free: 100.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.992e-05/45.64, allocations: 96.64 kB / 11.18 GB, free: 100.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02903/45.67, allocations: 11.62 MB / 11.19 GB, free: 99.98 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.003551/45.67, allocations: 39.58 kB / 11.19 GB, free: 99.95 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.009463/45.68, allocations: 6.696 MB / 11.2 GB, free: 98.83 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00396/45.68, allocations: 1.399 MB / 11.2 GB, free: 98.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003683/45.69, allocations: 0.75 kB / 11.2 GB, free: 98.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000914/45.69, allocations: 0.5645 MB / 11.2 GB, free: 97.78 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01412/45.7, allocations: 7.307 MB / 11.21 GB, free: 97.76 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01478/45.72, allocations: 9.922 MB / 11.22 GB, free: 94.64 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01677/45.73, allocations: 8.336 MB / 11.23 GB, free: 94.53 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001557/45.73, allocations: 13.53 kB / 11.23 GB, free: 94.53 MB / 0.948 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.1013/45.84, allocations: 31.65 MB / 11.26 GB, free: 93.58 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.007304/45.84, allocations: 36.04 MB / 11.29 GB, free: 56.33 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002218/45.84, allocations: 63.3 kB / 11.29 GB, free: 56.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6363/46.48, allocations: 144.7 MB / 11.44 GB, free: 10.54 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009847/46.49, allocations: 1.51 MB / 11.44 GB, free: 9.152 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04857/46.54, allocations: 25.49 MB / 11.46 GB, free: 5.688 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02116/46.56, allocations: 1.209 MB / 11.46 GB, free: 4.512 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004501/46.56, allocations: 0.7595 MB / 11.46 GB, free: 3.809 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/46.56, allocations: 4 kB / 11.46 GB, free: 3.805 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.445/48.01, allocations: 104 MB / 11.57 GB, free: 111.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000359/48.01, allocations: 52.97 kB / 11.57 GB, free: 111.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6229/48.63, allocations: 143.6 MB / 11.71 GB, free: 76.78 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007507/48.64, allocations: 1.47 MB / 11.71 GB, free: 75.43 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0468/48.69, allocations: 25.83 MB / 11.73 GB, free: 56.68 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01834/48.71, allocations: 0.8263 MB / 11.73 GB, free: 55.91 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003721/48.71, allocations: 0.7072 MB / 11.73 GB, free: 55.26 MB / 0.9636 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpNorth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pmpSouth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 245 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (659): * Single equations (assignments): 647 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {30 40,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.005985/48.72, allocations: 303.3 kB / 11.73 GB, free: 55.1 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006022/48.72, allocations: 1.213 MB / 11.74 GB, free: 54.54 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07572/48.8, allocations: 24.49 MB / 11.76 GB, free: 36.99 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001226/48.8, allocations: 51.98 kB / 11.76 GB, free: 36.94 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.706e-05/48.8, allocations: 0 / 11.76 GB, free: 36.94 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06331/48.86, allocations: 19.76 MB / 11.78 GB, free: 22.77 MB / 0.9636 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 postOpt removeSimpleEquations (simulation): time 0.1103/48.97, allocations: 41.35 MB / 11.82 GB, free: 9.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.453e-05/48.97, allocations: 7.984 kB / 11.82 GB, free: 9.812 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005363/48.98, allocations: 0.8399 MB / 11.82 GB, free: 9.031 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.083/50.06, allocations: 41.89 MB / 11.86 GB, free: 119.7 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0019/50.06, allocations: 86.48 kB / 11.86 GB, free: 119.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09847/50.16, allocations: 38.71 MB / 11.9 GB, free: 114 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.308e-06/50.16, allocations: 2.5 kB / 11.9 GB, free: 114 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2158/50.38, allocations: 53.07 MB / 11.95 GB, free: 113.1 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01127/50.39, allocations: 2.713 MB / 11.95 GB, free: 113 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006524/50.39, allocations: 5.438 kB / 11.95 GB, free: 113 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01584/50.41, allocations: 1.027 MB / 11.95 GB, free: 112.9 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002565/50.41, allocations: 376.5 kB / 11.95 GB, free: 112.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001722/50.41, allocations: 230.8 kB / 11.95 GB, free: 112.9 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.02168/50.44, allocations: 8.698 MB / 11.96 GB, free: 112.6 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.032e-06/50.44, allocations: 0 / 11.96 GB, free: 112.6 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.05629/50.49, allocations: 6.679 MB / 11.97 GB, free: 112.6 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (369): * Single equations (assignments): 350 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {30 38,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.01104/50.5, allocations: 5.349 MB / 11.97 GB, free: 110.6 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.06271/50.57, allocations: 29.06 MB / 12 GB, free: 110 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.43e-05/50.57, allocations: 3.094 kB / 12 GB, free: 110 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0183/50.58, allocations: 8.118 MB / 12.01 GB, free: 109.7 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03741/50.62, allocations: 6.501 MB / 12.02 GB, free: 109.6 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07475/50.7, allocations: 25.85 MB / 12.04 GB, free: 102.5 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01095/50.71, allocations: 7.229 MB / 12.05 GB, free: 98.26 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.03182/50.74, allocations: 6.159 MB / 12.06 GB, free: 94.27 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003399/50.74, allocations: 0.6758 MB / 12.06 GB, free: 93.71 MB / 0.9792 GB Notification: Performance of SimCode: time 9.72e-07/50.74, allocations: 0 / 12.06 GB, free: 93.71 MB / 0.9792 GB Notification: Performance of Templates: time 2.336/53.08, allocations: 418.4 MB / 12.46 GB, free: 47.49 MB / 0.9949 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)