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.7369/0.7369, allocations: 127.3 MB / 139.8 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 199.6 kB / 169.7 MB, free: 1.734 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.71/1.71, allocations: 205.1 MB / 404.5 MB, free: 1.664 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.0008819/0.0008822, allocations: 87.62 kB / 481.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.157e-05/3.16e-05, allocations: 4 kB / 0.5532 GB, free: 54.85 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1485, allocations: 76.74 MB / 0.6281 GB, free: 10.04 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.679/4.828, allocations: 2.194 GB / 2.822 GB, free: 126.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004012/4.828, allocations: 95.94 kB / 2.822 GB, free: 126.4 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.895/7.723, allocations: 0.7991 GB / 3.622 GB, free: 54.26 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.503e-06/7.723, allocations: 0 / 3.622 GB, free: 54.26 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002824/7.723, allocations: 47.7 kB / 3.622 GB, free: 54.22 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.006171/7.729, allocations: 1.877 MB / 3.623 GB, free: 52.28 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/7.73, allocations: 15.97 kB / 3.624 GB, free: 52.27 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003634/7.733, allocations: 469.4 kB / 3.624 GB, free: 51.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005468/7.739, allocations: 1.915 MB / 3.626 GB, free: 49.85 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/7.739, allocations: 82 kB / 3.626 GB, free: 49.77 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004179/7.739, allocations: 107.9 kB / 3.626 GB, free: 49.66 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002913/7.742, allocations: 1.183 MB / 3.627 GB, free: 48.43 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.367e-05/7.742, allocations: 0 / 3.627 GB, free: 48.43 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/7.742, allocations: 52.33 kB / 3.627 GB, free: 48.38 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.792e-05/7.742, allocations: 37.95 kB / 3.627 GB, free: 48.34 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001929/7.744, allocations: 0.8551 MB / 3.628 GB, free: 47.49 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.007147/7.751, allocations: 4.946 MB / 3.633 GB, free: 42.21 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/7.753, allocations: 0.8801 MB / 3.634 GB, free: 41.31 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004714/7.754, allocations: 350.9 kB / 3.634 GB, free: 40.97 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001958/7.754, allocations: 101.7 kB / 3.634 GB, free: 40.85 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009195/7.755, allocations: 470.9 kB / 3.635 GB, free: 40.38 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007328/7.756, allocations: 91.39 kB / 3.635 GB, free: 40.29 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=70): time 4.448e-06/7.756, allocations: 0 / 3.635 GB, free: 40.29 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70): time 0.001988/7.758, allocations: 0.8417 MB / 3.636 GB, free: 39.44 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.602e-05/7.758, allocations: 188.5 kB / 3.636 GB, free: 39.21 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/7.759, allocations: 1.012 MB / 3.637 GB, free: 38.19 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.153e-05/7.759, allocations: 45.7 kB / 3.637 GB, free: 38.14 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004855/7.759, allocations: 0.6772 MB / 3.637 GB, free: 37.45 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/7.76, allocations: 244.4 kB / 3.638 GB, free: 37.21 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-05/7.76, allocations: 19.06 kB / 3.638 GB, free: 37.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.445e-05/7.76, allocations: 341.9 kB / 3.638 GB, free: 36.86 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004277/7.76, allocations: 293.9 kB / 3.638 GB, free: 36.57 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005437/7.761, allocations: 0.5736 MB / 3.639 GB, free: 35.88 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005314/7.761, allocations: 401.9 kB / 3.639 GB, free: 35.48 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/7.761, allocations: 3.953 kB / 3.639 GB, free: 35.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001485/7.763, allocations: 1.052 MB / 3.64 GB, free: 34.41 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004709/7.763, allocations: 1.996 MB / 3.642 GB, free: 32.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.259e-05/7.763, allocations: 8 kB / 3.642 GB, free: 32.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003094/7.764, allocations: 72.81 kB / 3.642 GB, free: 32.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/7.765, allocations: 231.6 kB / 3.643 GB, free: 31.99 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008863/7.766, allocations: 1.236 MB / 3.644 GB, free: 30.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/7.767, allocations: 99.98 kB / 3.644 GB, free: 30.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.996e-05/7.767, allocations: 51.97 kB / 3.644 GB, free: 30.55 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/7.767, allocations: 4 kB / 3.644 GB, free: 30.55 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001488/7.769, allocations: 0.9343 MB / 3.645 GB, free: 29.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/7.769, allocations: 8.062 kB / 3.645 GB, free: 29.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000431/7.769, allocations: 117 kB / 3.645 GB, free: 29.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006268/7.77, allocations: 171.8 kB / 3.645 GB, free: 29.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003472/7.773, allocations: 2.681 MB / 3.648 GB, free: 26.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/7.775, allocations: 91.94 kB / 3.648 GB, free: 26.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-05/7.775, allocations: 43.98 kB / 3.648 GB, free: 26.3 MB / 0.6511 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.0003238/7.775, allocations: 164.6 kB / 3.648 GB, free: 26.13 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/7.775, allocations: 138.3 kB / 3.648 GB, free: 26 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002128/7.777, allocations: 0.9284 MB / 3.649 GB, free: 25.05 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/7.777, allocations: 8 kB / 3.649 GB, free: 25.04 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/7.777, allocations: 0 / 3.649 GB, free: 25.04 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001384/7.779, allocations: 0.8121 MB / 3.65 GB, free: 24.2 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 postOpt removeSimpleEquations (simulation): time 0.003796/7.783, allocations: 2.242 MB / 3.652 GB, free: 21.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/7.783, allocations: 0 / 3.652 GB, free: 21.87 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/7.784, allocations: 215.8 kB / 3.652 GB, free: 21.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002556/7.784, allocations: 80.77 kB / 3.652 GB, free: 21.58 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.792e-05/7.784, allocations: 19.98 kB / 3.652 GB, free: 21.56 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001708/7.786, allocations: 1.987 MB / 3.654 GB, free: 19.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/7.786, allocations: 0 / 3.654 GB, free: 19.42 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/7.788, allocations: 1.402 MB / 3.656 GB, free: 17.96 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005617/7.789, allocations: 283.3 kB / 3.656 GB, free: 17.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/7.789, allocations: 16 kB / 3.656 GB, free: 17.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000894/7.79, allocations: 107.8 kB / 3.656 GB, free: 17.54 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/7.79, allocations: 56.44 kB / 3.656 GB, free: 17.48 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.034e-05/7.79, allocations: 27.97 kB / 3.656 GB, free: 17.46 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0009819/7.791, allocations: 0.7907 MB / 3.657 GB, free: 16.66 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.6e-07/7.791, allocations: 0 / 3.657 GB, free: 16.66 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003273/7.794, allocations: 1.094 MB / 3.658 GB, free: 15.57 MB / 0.6511 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.003912/7.798, allocations: 2.808 MB / 3.661 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002969/7.801, allocations: 1.61 MB / 3.662 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/7.801, allocations: 4 kB / 3.662 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001296/7.802, allocations: 432 kB / 3.663 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002894/7.805, allocations: 0.6448 MB / 3.663 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003144/7.808, allocations: 2.017 MB / 3.665 GB, free: 7.809 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007124/7.809, allocations: 1.334 MB / 3.667 GB, free: 6.445 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001831/7.811, allocations: 495.1 kB / 3.667 GB, free: 5.957 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002178/7.811, allocations: 79.42 kB / 3.667 GB, free: 5.879 MB / 0.6511 GB Notification: Performance of SimCode: time 1.092e-06/7.811, allocations: 0 / 3.667 GB, free: 5.879 MB / 0.6511 GB Notification: Performance of Templates: time 0.5528/8.364, allocations: 63.08 MB / 3.729 GB, free: 85.48 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)