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.8466/0.8466, allocations: 128.8 MB / 143.7 MB, free: 2.32 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.001143/0.001143, allocations: 185.5 kB / 173.8 MB, free: 6.129 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.868/1.868, allocations: 205.4 MB / 409 MB, free: 10.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.00109/0.00109, allocations: 92 kB / 486.6 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.000362, allocations: 8.688 kB / 0.5603 GB, free: 97.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2154, allocations: 76.76 MB / 0.6353 GB, free: 30.59 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.875/6.09, allocations: 2.194 GB / 2.83 GB, free: 176.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003472/6.09, allocations: 102.7 kB / 2.83 GB, free: 176.9 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.736/8.827, allocations: 0.8 GB / 3.63 GB, free: 84.46 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.603e-06/8.827, allocations: 0 / 3.63 GB, free: 84.46 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001732/8.827, allocations: 54.25 kB / 3.63 GB, free: 84.45 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.006531/8.834, allocations: 2.362 MB / 3.632 GB, free: 83.39 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/8.834, allocations: 11.34 kB / 3.632 GB, free: 83.39 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003694/8.837, allocations: 468.4 kB / 3.633 GB, free: 83.3 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005174/8.842, allocations: 1.941 MB / 3.634 GB, free: 82.84 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-05/8.843, allocations: 79.56 kB / 3.634 GB, free: 82.84 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002193/8.843, allocations: 111.5 kB / 3.635 GB, free: 82.84 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002525/8.845, allocations: 1.244 MB / 3.636 GB, free: 82.66 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.168e-05/8.845, allocations: 4 kB / 3.636 GB, free: 82.66 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/8.846, allocations: 43.53 kB / 3.636 GB, free: 82.66 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.332e-05/8.846, allocations: 34.72 kB / 3.636 GB, free: 82.66 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002137/8.848, allocations: 0.9491 MB / 3.637 GB, free: 82.64 MB / 0.6667 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 0.006748/8.854, allocations: 4.968 MB / 3.642 GB, free: 80.33 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002206/8.857, allocations: 0.9751 MB / 3.643 GB, free: 80.2 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001824/8.857, allocations: 109.9 kB / 3.643 GB, free: 80.11 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001207/8.858, allocations: 0.5115 MB / 3.643 GB, free: 80.05 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007143/8.859, allocations: 81.33 kB / 3.643 GB, free: 80.02 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=70): time 3.346e-06/8.859, allocations: 0 / 3.643 GB, free: 80.02 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70): time 0.003745/8.863, allocations: 1.349 MB / 3.645 GB, free: 79.79 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.281e-05/8.863, allocations: 191.7 kB / 3.645 GB, free: 79.57 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/8.864, allocations: 1.031 MB / 3.646 GB, free: 79.42 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001213/8.864, allocations: 45.36 kB / 3.646 GB, free: 79.39 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005427/8.865, allocations: 0.6669 MB / 3.646 GB, free: 79.16 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001828/8.865, allocations: 251.4 kB / 3.647 GB, free: 79.01 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.836e-05/8.865, allocations: 16.47 kB / 3.647 GB, free: 79.01 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.092e-05/8.865, allocations: 335.9 kB / 3.647 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007209/8.866, allocations: 349.7 kB / 3.647 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008047/8.867, allocations: 0.6223 MB / 3.648 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008082/8.867, allocations: 457.6 kB / 3.648 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/8.868, allocations: 0 / 3.648 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002289/8.87, allocations: 1.169 MB / 3.65 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004832/8.87, allocations: 1.995 MB / 3.652 GB, free: 76.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.733e-05/8.87, allocations: 8.406 kB / 3.652 GB, free: 76.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004474/8.871, allocations: 83.83 kB / 3.652 GB, free: 76.09 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001473/8.872, allocations: 231.5 kB / 3.652 GB, free: 76.08 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/8.874, allocations: 1.246 MB / 3.653 GB, free: 74.97 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/8.875, allocations: 110 kB / 3.653 GB, free: 74.96 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/8.875, allocations: 47.53 kB / 3.653 GB, free: 74.96 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/8.875, allocations: 6.938 kB / 3.653 GB, free: 74.96 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002076/8.878, allocations: 1.001 MB / 3.654 GB, free: 74.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/8.878, allocations: 3.281 kB / 3.654 GB, free: 74.86 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004188/8.878, allocations: 108 kB / 3.654 GB, free: 74.86 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006768/8.879, allocations: 176.8 kB / 3.654 GB, free: 74.84 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003702/8.882, allocations: 2.737 MB / 3.657 GB, free: 73.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/8.884, allocations: 97.78 kB / 3.657 GB, free: 73.09 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.081e-05/8.884, allocations: 42.39 kB / 3.657 GB, free: 73.09 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 () * Number of clocked 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.001016/8.885, allocations: 475.3 kB / 3.658 GB, free: 72.88 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002335/8.885, allocations: 149 kB / 3.658 GB, free: 72.81 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002529/8.888, allocations: 1.015 MB / 3.659 GB, free: 72.71 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/8.888, allocations: 7.031 kB / 3.659 GB, free: 72.71 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/8.888, allocations: 3.562 kB / 3.659 GB, free: 72.71 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001979/8.89, allocations: 0.9068 MB / 3.66 GB, free: 72.36 MB / 0.6667 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.004768/8.895, allocations: 2.35 MB / 3.662 GB, free: 71.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/8.895, allocations: 0 / 3.662 GB, free: 71.25 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/8.896, allocations: 206.5 kB / 3.662 GB, free: 71.24 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003378/8.896, allocations: 90.53 kB / 3.662 GB, free: 71.21 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.724e-05/8.896, allocations: 35.05 kB / 3.662 GB, free: 71.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002331/8.899, allocations: 2.009 MB / 3.664 GB, free: 69.27 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/8.899, allocations: 0 / 3.664 GB, free: 69.27 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003241/8.902, allocations: 1.544 MB / 3.666 GB, free: 68.54 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006935/8.903, allocations: 282.5 kB / 3.666 GB, free: 68.33 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/8.903, allocations: 18.56 kB / 3.666 GB, free: 68.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009239/8.904, allocations: 108.5 kB / 3.666 GB, free: 68.3 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/8.904, allocations: 58.62 kB / 3.666 GB, free: 68.29 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-05/8.904, allocations: 31.83 kB / 3.666 GB, free: 68.28 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001057/8.905, allocations: 0.7982 MB / 3.667 GB, free: 67.96 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.41e-07/8.905, allocations: 0 / 3.667 GB, free: 67.96 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003491/8.909, allocations: 1.096 MB / 3.668 GB, free: 67.64 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) * Number of clocked states: 0 () * 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.00418/8.913, allocations: 2.814 MB / 3.671 GB, free: 66.6 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003816/8.917, allocations: 1.704 MB / 3.673 GB, free: 65.87 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/8.917, allocations: 0 / 3.673 GB, free: 65.87 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001709/8.918, allocations: 479.5 kB / 3.673 GB, free: 65.75 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002851/8.921, allocations: 0.6521 MB / 3.674 GB, free: 65.6 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004342/8.926, allocations: 3.164 MB / 3.677 GB, free: 63.83 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000685/8.926, allocations: 1.328 MB / 3.678 GB, free: 63.04 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001484/8.928, allocations: 328.3 kB / 3.678 GB, free: 62.98 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002608/8.928, allocations: 101.3 kB / 3.678 GB, free: 62.97 MB / 0.6667 GB Notification: Performance of SimCode: time 7.22e-07/8.928, allocations: 0 / 3.678 GB, free: 62.97 MB / 0.6667 GB Notification: Performance of Templates: time 0.07493/9.003, allocations: 54.65 MB / 3.732 GB, free: 16.77 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)