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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.671/0.671, allocations: 117.9 MB / 133.9 MB, free: 4.496 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.000969/0.000969, allocations: 174.7 kB / 161.7 MB, free: 2.719 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.671/1.671, allocations: 205.4 MB / 394.8 MB, free: 20.87 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.0008782/0.0008783, allocations: 96.03 kB / 470.1 MB, free: 12.1 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004105/0.0004105, allocations: 15.98 kB / 0.5423 GB, free: 6.828 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3745, allocations: 74.53 MB / 0.6151 GB, free: 54.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.49/4.865, allocations: 2.193 GB / 2.809 GB, free: 185.8 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/4.865, allocations: 106 kB / 2.809 GB, free: 185.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.527/7.392, allocations: 0.7983 GB / 3.607 GB, free: 72.62 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.525e-06/7.392, allocations: 0 / 3.607 GB, free: 72.62 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003453/7.393, allocations: 45.44 kB / 3.607 GB, free: 72.62 MB / 0.6355 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.01032/7.403, allocations: 2.359 MB / 3.609 GB, free: 71.47 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/7.403, allocations: 14.34 kB / 3.609 GB, free: 71.47 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005225/7.408, allocations: 473.5 kB / 3.61 GB, free: 71.37 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007317/7.416, allocations: 1.942 MB / 3.612 GB, free: 70.74 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/7.416, allocations: 81.78 kB / 3.612 GB, free: 70.71 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004947/7.417, allocations: 115.6 kB / 3.612 GB, free: 70.67 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004158/7.421, allocations: 1.241 MB / 3.613 GB, free: 70.12 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.638e-05/7.421, allocations: 0 / 3.613 GB, free: 70.12 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001682/7.421, allocations: 47.73 kB / 3.613 GB, free: 70.09 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.548e-05/7.421, allocations: 35.19 kB / 3.613 GB, free: 70.09 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003681/7.425, allocations: 0.9521 MB / 3.614 GB, free: 69.77 MB / 0.6355 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.01051/7.435, allocations: 4.955 MB / 3.619 GB, free: 66.43 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003711/7.439, allocations: 0.9842 MB / 3.62 GB, free: 66 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/7.44, allocations: 399 kB / 3.62 GB, free: 65.86 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002868/7.441, allocations: 104.8 kB / 3.62 GB, free: 65.76 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001962/7.443, allocations: 0.5095 MB / 3.621 GB, free: 65.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001091/7.444, allocations: 82.73 kB / 3.621 GB, free: 65.53 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=70): time 6.231e-06/7.444, allocations: 3.281 kB / 3.621 GB, free: 65.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=70): time 0.006234/7.45, allocations: 1.353 MB / 3.622 GB, free: 65 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.898e-05/7.45, allocations: 190 kB / 3.622 GB, free: 64.78 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002392/7.452, allocations: 1.187 MB / 3.624 GB, free: 64.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001878/7.453, allocations: 49.42 kB / 3.624 GB, free: 64.26 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000734/7.453, allocations: 0.6613 MB / 3.624 GB, free: 63.74 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002763/7.454, allocations: 250.5 kB / 3.625 GB, free: 63.55 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.285e-05/7.454, allocations: 15.88 kB / 3.625 GB, free: 63.54 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.867e-05/7.454, allocations: 335.2 kB / 3.625 GB, free: 63.23 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001261/7.455, allocations: 349.8 kB / 3.625 GB, free: 63.11 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/7.457, allocations: 0.6288 MB / 3.626 GB, free: 62.67 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002623/7.459, allocations: 0.9126 MB / 3.627 GB, free: 62.15 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/7.459, allocations: 6.531 kB / 3.627 GB, free: 62.15 MB / 0.6355 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003825/7.463, allocations: 1.166 MB / 3.628 GB, free: 61.66 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001749/7.463, allocations: 272.1 kB / 3.628 GB, free: 61.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.993e-05/7.463, allocations: 7.156 kB / 3.628 GB, free: 61.35 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006813/7.464, allocations: 85.91 kB / 3.628 GB, free: 61.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002169/7.466, allocations: 236.6 kB / 3.628 GB, free: 61.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00338/7.47, allocations: 2.009 MB / 3.63 GB, free: 59.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002276/7.472, allocations: 114.5 kB / 3.63 GB, free: 59.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001696/7.472, allocations: 48.12 kB / 3.631 GB, free: 59.36 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/7.472, allocations: 3.688 kB / 3.631 GB, free: 59.36 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003057/7.475, allocations: 1.005 MB / 3.632 GB, free: 58.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.626e-05/7.475, allocations: 3.906 kB / 3.632 GB, free: 58.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006615/7.476, allocations: 102.4 kB / 3.632 GB, free: 58.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/7.477, allocations: 184.5 kB / 3.632 GB, free: 58.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005481/7.483, allocations: 2.672 MB / 3.634 GB, free: 56.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/7.485, allocations: 94.84 kB / 3.635 GB, free: 56.87 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/7.485, allocations: 46.91 kB / 3.635 GB, free: 56.86 MB / 0.6355 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.001374/7.486, allocations: 470.6 kB / 3.635 GB, free: 56.43 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00035/7.487, allocations: 138.2 kB / 3.635 GB, free: 56.29 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004083/7.491, allocations: 1.002 MB / 3.636 GB, free: 55.44 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/7.491, allocations: 15.22 kB / 3.636 GB, free: 55.43 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/7.491, allocations: 6.406 kB / 3.636 GB, free: 55.42 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003292/7.494, allocations: 0.9059 MB / 3.637 GB, free: 54.6 MB / 0.6355 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.007431/7.502, allocations: 2.335 MB / 3.639 GB, free: 52.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/7.502, allocations: 0 / 3.639 GB, free: 52.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002211/7.504, allocations: 202.7 kB / 3.639 GB, free: 52.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004934/7.505, allocations: 92.89 kB / 3.64 GB, free: 52.43 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/7.505, allocations: 27.69 kB / 3.64 GB, free: 52.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003308/7.508, allocations: 2.008 MB / 3.642 GB, free: 50.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/7.508, allocations: 0 / 3.642 GB, free: 50.33 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005157/7.513, allocations: 1.492 MB / 3.643 GB, free: 48.98 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/7.514, allocations: 291.8 kB / 3.643 GB, free: 48.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002769/7.515, allocations: 16 kB / 3.643 GB, free: 48.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001592/7.516, allocations: 111.4 kB / 3.643 GB, free: 48.62 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000196/7.516, allocations: 54.45 kB / 3.643 GB, free: 48.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/7.516, allocations: 26.7 kB / 3.643 GB, free: 48.57 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001836/7.518, allocations: 0.7999 MB / 3.644 GB, free: 47.89 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.11e-07/7.518, allocations: 0 / 3.644 GB, free: 47.89 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.005382/7.524, allocations: 1.116 MB / 3.645 GB, free: 46.81 MB / 0.6355 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.005763/7.53, allocations: 2.817 MB / 3.648 GB, free: 44.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00638/7.536, allocations: 1.701 MB / 3.65 GB, free: 42.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/7.536, allocations: 4.375 kB / 3.65 GB, free: 42.79 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002813/7.539, allocations: 498.5 kB / 3.65 GB, free: 42.31 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005299/7.544, allocations: 0.6388 MB / 3.651 GB, free: 41.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006683/7.551, allocations: 3.175 MB / 3.654 GB, free: 38.48 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/7.552, allocations: 1.3 MB / 3.655 GB, free: 37.15 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002671/7.555, allocations: 325 kB / 3.656 GB, free: 36.85 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004217/7.555, allocations: 107.4 kB / 3.656 GB, free: 36.75 MB / 0.6355 GB Notification: Performance of SimCode: time 1.002e-06/7.555, allocations: 4 kB / 3.656 GB, free: 36.74 MB / 0.6355 GB Notification: Performance of Templates: time 0.1131/7.668, allocations: 55.43 MB / 3.71 GB, free: 13.9 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)