Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.ClosedLoop_y.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.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.ClosedLoop_y") translateModel(BuildSysPro.IBPSA.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7645/0.7645, allocations: 127.4 MB / 134.9 MB, free: 3.457 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.00126/0.001261, allocations: 172.4 kB / 164.6 MB, free: 11.64 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.39/1.39, allocations: 205.2 MB / 399.5 MB, free: 13.52 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.0008863/0.0008863, allocations: 81.48 kB / 476.7 MB, free: 1.531 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.688e-05/1.689e-05, allocations: 5.594 kB / 0.5466 GB, free: 95.43 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1366, allocations: 76.76 MB / 0.6215 GB, free: 43.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.848/4.985, allocations: 2.194 GB / 2.815 GB, free: 236.4 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/4.985, allocations: 95.66 kB / 2.815 GB, free: 236.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.712/7.697, allocations: 0.79 GB / 3.605 GB, free: 90.31 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.542e-06/7.697, allocations: 0 / 3.605 GB, free: 90.31 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.000188/7.697, allocations: 42.48 kB / 3.605 GB, free: 90.31 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.004721/7.702, allocations: 1.881 MB / 3.607 GB, free: 89.56 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/7.702, allocations: 11.66 kB / 3.607 GB, free: 89.56 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003154/7.705, allocations: 473.8 kB / 3.608 GB, free: 89.47 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004144/7.709, allocations: 1.914 MB / 3.609 GB, free: 89.13 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.247e-05/7.709, allocations: 30.56 kB / 3.609 GB, free: 89.13 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/7.709, allocations: 75.02 kB / 3.61 GB, free: 89.12 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001433/7.711, allocations: 0.8071 MB / 3.61 GB, free: 89.12 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/7.712, allocations: 1.003 MB / 3.611 GB, free: 88.95 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/7.712, allocations: 3.688 kB / 3.611 GB, free: 88.95 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.628e-05/7.712, allocations: 0 / 3.611 GB, free: 88.95 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.541e-05/7.713, allocations: 37.3 kB / 3.611 GB, free: 88.95 MB / 0.6667 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.006036/7.719, allocations: 4.752 MB / 3.616 GB, free: 86.79 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/7.72, allocations: 0.8705 MB / 3.617 GB, free: 86.66 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000454/7.72, allocations: 360.7 kB / 3.617 GB, free: 86.65 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001841/7.721, allocations: 106.1 kB / 3.617 GB, free: 86.55 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005432/7.721, allocations: 411.8 kB / 3.618 GB, free: 86.5 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005856/7.722, allocations: 63.95 kB / 3.618 GB, free: 86.49 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=70): time 3.477e-06/7.722, allocations: 3.625 kB / 3.618 GB, free: 86.49 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70): time 0.001927/7.724, allocations: 0.8553 MB / 3.619 GB, free: 86.37 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/7.724, allocations: 195 kB / 3.619 GB, free: 86.15 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/7.725, allocations: 0.8931 MB / 3.62 GB, free: 86 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.532e-05/7.725, allocations: 30.98 kB / 3.62 GB, free: 85.96 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005454/7.725, allocations: 0.6749 MB / 3.62 GB, free: 85.78 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002008/7.726, allocations: 230.9 kB / 3.621 GB, free: 85.66 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/7.726, allocations: 2.734 kB / 3.621 GB, free: 85.66 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.821e-05/7.726, allocations: 343.8 kB / 3.621 GB, free: 85.35 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004516/7.726, allocations: 310.7 kB / 3.621 GB, free: 85.35 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000534/7.727, allocations: 0.578 MB / 3.622 GB, free: 85.04 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007806/7.728, allocations: 413.2 kB / 3.622 GB, free: 85.03 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/7.728, allocations: 7.344 kB / 3.622 GB, free: 85.03 MB / 0.6667 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001705/7.729, allocations: 1.037 MB / 3.623 GB, free: 84.91 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004164/7.73, allocations: 1.986 MB / 3.625 GB, free: 82.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/7.73, allocations: 7.094 kB / 3.625 GB, free: 82.89 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003832/7.73, allocations: 107.4 kB / 3.625 GB, free: 82.88 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/7.732, allocations: 229.3 kB / 3.625 GB, free: 82.88 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009671/7.732, allocations: 1.314 MB / 3.627 GB, free: 81.78 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/7.734, allocations: 84.98 kB / 3.627 GB, free: 81.77 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-05/7.734, allocations: 52.98 kB / 3.627 GB, free: 81.77 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/7.734, allocations: 3.906 kB / 3.627 GB, free: 81.77 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001598/7.735, allocations: 0.8365 MB / 3.628 GB, free: 81.74 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/7.735, allocations: 5.719 kB / 3.628 GB, free: 81.74 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003983/7.736, allocations: 105.2 kB / 3.628 GB, free: 81.73 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006609/7.737, allocations: 175.6 kB / 3.628 GB, free: 81.73 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003748/7.74, allocations: 2.61 MB / 3.63 GB, free: 80.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/7.742, allocations: 74.86 kB / 3.631 GB, free: 80.07 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/7.742, allocations: 49.03 kB / 3.631 GB, free: 80.07 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 93 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002979/7.742, allocations: 130.5 kB / 3.631 GB, free: 79.96 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002051/7.742, allocations: 132.8 kB / 3.631 GB, free: 79.89 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002155/7.744, allocations: 0.8741 MB / 3.632 GB, free: 79.8 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/7.745, allocations: 11.03 kB / 3.632 GB, free: 79.8 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/7.745, allocations: 2.031 kB / 3.632 GB, free: 79.8 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001544/7.746, allocations: 0.7987 MB / 3.632 GB, free: 79.6 MB / 0.6667 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.004221/7.75, allocations: 2.075 MB / 3.634 GB, free: 79.19 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/7.75, allocations: 5.078 kB / 3.634 GB, free: 79.19 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001307/7.752, allocations: 216 kB / 3.635 GB, free: 79.19 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001768/7.752, allocations: 64.14 kB / 3.635 GB, free: 79.18 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.339e-05/7.752, allocations: 13.86 kB / 3.635 GB, free: 79.18 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001788/7.754, allocations: 1.939 MB / 3.637 GB, free: 77.41 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/7.754, allocations: 0.5625 kB / 3.637 GB, free: 77.41 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00227/7.756, allocations: 1.354 MB / 3.638 GB, free: 77.07 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005763/7.757, allocations: 277.2 kB / 3.638 GB, free: 76.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/7.757, allocations: 6.781 kB / 3.638 GB, free: 76.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/7.758, allocations: 100.3 kB / 3.638 GB, free: 76.91 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/7.758, allocations: 51.2 kB / 3.638 GB, free: 76.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.49e-05/7.758, allocations: 31.38 kB / 3.638 GB, free: 76.9 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001162/7.759, allocations: 0.6746 MB / 3.639 GB, free: 76.79 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.71e-07/7.759, allocations: 2.375 kB / 3.639 GB, free: 76.79 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003781/7.763, allocations: 1.003 MB / 3.64 GB, free: 76.67 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (fan.vol.dynBal.U,fan.vol.dynBal.m,fan.vol.dynBal.mXi[1],fan.filter.x[1],fan.filter.x[2],conPID.I.y) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004184/7.767, allocations: 2.947 MB / 3.643 GB, free: 75.77 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002957/7.77, allocations: 1.572 MB / 3.644 GB, free: 75.45 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/7.77, allocations: 3.938 kB / 3.644 GB, free: 75.45 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001274/7.771, allocations: 410 kB / 3.645 GB, free: 75.45 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002951/7.774, allocations: 0.5936 MB / 3.645 GB, free: 75.42 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003499/7.778, allocations: 1.982 MB / 3.647 GB, free: 74.86 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007534/7.779, allocations: 1.323 MB / 3.649 GB, free: 74.14 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002032/7.781, allocations: 464.5 kB / 3.649 GB, free: 74.12 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002353/7.781, allocations: 84.2 kB / 3.649 GB, free: 74.12 MB / 0.6667 GB Notification: Performance of SimCode: time 1.162e-06/7.781, allocations: 0 / 3.649 GB, free: 74.12 MB / 0.6667 GB Notification: Performance of Templates: time 0.06252/7.844, allocations: 41.42 MB / 3.69 GB, free: 71.44 MB / 0.6667 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.ClosedLoop_y.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)