Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified5") translateModel(IBPSA.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 172 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4536/0.4536, allocations: 86.27 MB / 103.8 MB, free: 14.53 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 223.3 MB / 348.4 MB, free: 4.949 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007763/0.0007763, allocations: 92.17 kB / 420.2 MB, free: 9.605 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004237/0.0004238, allocations: 15.98 kB / 0.4901 GB, free: 7.961 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.363, allocations: 71.01 MB / 0.5594 GB, free: 43.76 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.048/1.411, allocations: 414.4 MB / 0.9641 GB, free: 218 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/1.411, allocations: 100.6 kB / 0.9642 GB, free: 218 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 42.96/44.37, allocations: 10.42 GB / 11.38 GB, free: 51 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.214e-06/44.37, allocations: 0 / 11.38 GB, free: 51 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.003478/44.37, allocations: 343.7 kB / 11.38 GB, free: 50.94 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.06685/44.44, allocations: 17.45 MB / 11.4 GB, free: 44.31 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/44.44, allocations: 8.75 kB / 11.4 GB, free: 44.31 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01394/44.45, allocations: 2.237 MB / 11.4 GB, free: 43.48 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06304/44.52, allocations: 19.1 MB / 11.42 GB, free: 40.55 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001504/44.52, allocations: 0.5347 MB / 11.42 GB, free: 40.54 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006077/44.52, allocations: 0.708 MB / 11.42 GB, free: 40.54 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03646/44.56, allocations: 13.37 MB / 11.44 GB, free: 34.81 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003858/44.56, allocations: 11.88 kB / 11.44 GB, free: 34.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00341/44.56, allocations: 250.2 kB / 11.44 GB, free: 34.56 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001438/44.56, allocations: 155.8 kB / 11.44 GB, free: 34.41 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03194/44.6, allocations: 17.98 MB / 11.45 GB, free: 18.65 MB / 0.8698 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 1.025/45.62, allocations: 70 MB / 11.52 GB, free: 33.33 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01826/45.64, allocations: 9.77 MB / 11.53 GB, free: 33.18 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0147/45.65, allocations: 8.631 MB / 11.54 GB, free: 33.12 MB / 0.8698 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 evalFunc (simulation): time 0.07576/45.73, allocations: 29.41 MB / 11.57 GB, free: 25.28 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01948/45.75, allocations: 8.305 MB / 11.58 GB, free: 25.16 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04966/45.8, allocations: 15.22 MB / 11.59 GB, free: 25.16 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=393): time 5.686e-05/45.8, allocations: 1.312 kB / 11.59 GB, free: 25.16 MB / 0.8698 GB Notification: Performance of matching and sorting (n=581): time 0.4967/46.3, allocations: 126.7 MB / 11.72 GB, free: 16.54 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/46.3, allocations: 108.4 kB / 11.72 GB, free: 16.47 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03362/46.33, allocations: 13.45 MB / 11.73 GB, free: 15.74 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.004476/46.33, allocations: 181.4 kB / 11.73 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.01083/46.34, allocations: 5.999 MB / 11.73 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.005617/46.35, allocations: 1.951 MB / 11.74 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0039/46.35, allocations: 145.7 kB / 11.74 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0008314/46.36, allocations: 0.6021 MB / 11.74 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01904/46.37, allocations: 8.63 MB / 11.75 GB, free: 13.23 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02209/46.4, allocations: 11.24 MB / 11.76 GB, free: 6.891 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07356/46.47, allocations: 21.7 MB / 11.78 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001428/46.47, allocations: 13.31 kB / 11.78 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.09726/46.57, allocations: 29.23 MB / 11.81 GB, free: 9.676 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001883/46.57, allocations: 1.532 MB / 11.81 GB, free: 7.523 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001773/46.57, allocations: 57.69 kB / 11.81 GB, free: 7.473 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605/48.18, allocations: 171.8 MB / 11.98 GB, free: 87.88 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01087/48.19, allocations: 1.86 MB / 11.98 GB, free: 87.86 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04991/48.24, allocations: 27.38 MB / 12 GB, free: 82.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02265/48.26, allocations: 1.286 MB / 12.01 GB, free: 82.63 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005161/48.26, allocations: 0.8005 MB / 12.01 GB, free: 82.63 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/48.26, allocations: 2.062 kB / 12.01 GB, free: 82.63 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07834/48.34, allocations: 27.4 MB / 12.03 GB, free: 82.12 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002555/48.34, allocations: 48.91 kB / 12.03 GB, free: 82.12 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721/50.06, allocations: 171.6 MB / 12.2 GB, free: 115.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01007/50.07, allocations: 1.839 MB / 12.2 GB, free: 115.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06318/50.14, allocations: 31.75 MB / 12.23 GB, free: 111.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02298/50.16, allocations: 1.261 MB / 12.23 GB, free: 111.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005257/50.17, allocations: 0.7626 MB / 12.24 GB, free: 111.6 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (662): * Single equations (assignments): 648 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,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: 3 {40 56,6 79,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.01788/50.18, allocations: 3.107 MB / 12.24 GB, free: 111.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009282/50.19, allocations: 1.216 MB / 12.24 GB, free: 111.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1099/50.3, allocations: 30.9 MB / 12.27 GB, free: 110.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002638/50.3, allocations: 73.25 kB / 12.27 GB, free: 110.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-05/50.3, allocations: 0 / 12.27 GB, free: 110.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.09118/50.39, allocations: 25.33 MB / 12.29 GB, free: 110.2 MB / 0.9323 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 postOpt removeSimpleEquations (simulation): time 0.151/50.54, allocations: 50.46 MB / 12.34 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001019/50.55, allocations: 10.27 kB / 12.34 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007034/50.55, allocations: 1.247 MB / 12.35 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1965/50.75, allocations: 50 MB / 12.39 GB, free: 90.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003266/50.75, allocations: 200.1 kB / 12.39 GB, free: 90.83 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02586/50.78, allocations: 15.49 MB / 12.41 GB, free: 80.26 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.239e-05/50.78, allocations: 10.53 kB / 12.41 GB, free: 80.25 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08184/50.86, allocations: 32.58 MB / 12.44 GB, free: 64.85 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01486/50.87, allocations: 2.962 MB / 12.44 GB, free: 63.14 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008924/50.88, allocations: 133.5 kB / 12.44 GB, free: 63.11 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01949/50.9, allocations: 1.004 MB / 12.45 GB, free: 62.51 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003439/50.91, allocations: 472.7 kB / 12.45 GB, free: 62.22 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002635/50.91, allocations: 288.7 kB / 12.45 GB, free: 61.98 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.03161/50.94, allocations: 9.144 MB / 12.46 GB, free: 54.55 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.673e-06/50.94, allocations: 0 / 12.46 GB, free: 54.55 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.05255/50.99, allocations: 6.576 MB / 12.46 GB, free: 48.17 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (490): * Single equations (assignments): 468 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 4 * 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: 4 {7 80,38 56,1 1,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.01212/51.01, allocations: 4.947 MB / 12.47 GB, free: 43.83 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.09409/51.1, allocations: 35.69 MB / 12.5 GB, free: 14.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-05/51.1, allocations: 4 kB / 12.5 GB, free: 14.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 1.024/52.12, allocations: 11.31 MB / 12.51 GB, free: 115.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0642/52.19, allocations: 6.212 MB / 12.52 GB, free: 115.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08545/52.27, allocations: 30.25 MB / 12.55 GB, free: 104.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02115/52.3, allocations: 6.949 MB / 12.55 GB, free: 103.7 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.02838/52.32, allocations: 3.758 MB / 12.56 GB, free: 103.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006832/52.33, allocations: 0.9865 MB / 12.56 GB, free: 103.6 MB / 0.9323 GB Notification: Performance of SimCode: time 1.503e-06/52.33, allocations: 0 / 12.56 GB, free: 103.6 MB / 0.9323 GB Notification: Performance of Templates: time 2.245/54.58, allocations: 414.7 MB / 12.96 GB, free: 116.2 MB / 0.948 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified5.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)