Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y.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.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y") translateModel(IBPSA.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 173 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4684/0.4684, allocations: 86.27 MB / 103.8 MB, free: 14.55 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.327/1.327, allocations: 223.3 MB / 348.4 MB, free: 4.977 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.0008498/0.0008498, allocations: 90.98 kB / 420.2 MB, free: 9.652 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003908/0.0003908, allocations: 15.98 kB / 0.4901 GB, free: 8.016 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3427, allocations: 71.02 MB / 0.5594 GB, free: 43.72 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.485/3.827, allocations: 1.9 GB / 2.459 GB, free: 20.47 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/3.828, allocations: 103.2 kB / 2.459 GB, free: 20.37 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.512/6.339, allocations: 0.8086 GB / 3.268 GB, free: 69.33 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.373e-06/6.34, allocations: 0 / 3.268 GB, free: 69.33 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001963/6.34, allocations: 41.62 kB / 3.268 GB, free: 69.32 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.007386/6.347, allocations: 2.3 MB / 3.27 GB, free: 68.35 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/6.347, allocations: 16.62 kB / 3.27 GB, free: 68.35 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002964/6.35, allocations: 420.7 kB / 3.271 GB, free: 68.26 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004441/6.355, allocations: 1.828 MB / 3.272 GB, free: 67.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.311e-05/6.355, allocations: 78.47 kB / 3.272 GB, free: 67.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003081/6.355, allocations: 111.9 kB / 3.273 GB, free: 67.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002341/6.357, allocations: 1.167 MB / 3.274 GB, free: 67.65 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.531e-05/6.357, allocations: 3.938 kB / 3.274 GB, free: 67.65 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/6.358, allocations: 41.28 kB / 3.274 GB, free: 67.65 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.61e-05/6.358, allocations: 34.91 kB / 3.274 GB, free: 67.65 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/6.359, allocations: 0.9118 MB / 3.275 GB, free: 67.64 MB / 0.6042 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.006383/6.366, allocations: 4.935 MB / 3.279 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/6.368, allocations: 0.9442 MB / 3.28 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006633/6.368, allocations: 407.8 kB / 3.281 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/6.368, allocations: 109.5 kB / 3.281 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007845/6.369, allocations: 484 kB / 3.281 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006053/6.37, allocations: 88.12 kB / 3.281 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=72): time 3.967e-06/6.37, allocations: 0 / 3.281 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=72): time 0.002951/6.373, allocations: 1.303 MB / 3.283 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/6.373, allocations: 116.5 kB / 3.283 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/6.374, allocations: 1.157 MB / 3.284 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.456e-05/6.374, allocations: 45.02 kB / 3.284 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004334/6.375, allocations: 0.6553 MB / 3.285 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/6.375, allocations: 251 kB / 3.285 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-05/6.375, allocations: 12.75 kB / 3.285 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.169e-05/6.375, allocations: 339.5 kB / 3.285 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006227/6.376, allocations: 330.2 kB / 3.285 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007486/6.377, allocations: 0.6033 MB / 3.286 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/6.378, allocations: 0.8987 MB / 3.287 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/6.378, allocations: 0 / 3.287 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001895/6.38, allocations: 1.117 MB / 3.288 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001204/6.38, allocations: 278.8 kB / 3.288 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/6.38, allocations: 7.25 kB / 3.288 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003994/6.38, allocations: 91.33 kB / 3.288 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009014/6.381, allocations: 217.7 kB / 3.289 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005695/6.382, allocations: 1.207 MB / 3.29 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/6.383, allocations: 99.05 kB / 3.29 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.91e-05/6.383, allocations: 48.98 kB / 3.29 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.273e-06/6.383, allocations: 5.188 kB / 3.29 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001815/6.385, allocations: 1.015 MB / 3.291 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/6.385, allocations: 8.75 kB / 3.291 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000356/6.385, allocations: 107.1 kB / 3.291 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007025/6.386, allocations: 193.8 kB / 3.291 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003316/6.389, allocations: 2.668 MB / 3.294 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/6.391, allocations: 104.2 kB / 3.294 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.292e-05/6.391, allocations: 44.69 kB / 3.294 GB, free: 59.95 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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): 95 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.0007857/6.391, allocations: 462.9 kB / 3.294 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/6.392, allocations: 130.4 kB / 3.295 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001967/6.394, allocations: 0.986 MB / 3.296 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/6.394, allocations: 8.188 kB / 3.296 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/6.394, allocations: 0 / 3.296 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001428/6.395, allocations: 0.8804 MB / 3.296 GB, free: 59.4 MB / 0.6042 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.003767/6.399, allocations: 2.302 MB / 3.299 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/6.399, allocations: 3.469 kB / 3.299 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007411/6.4, allocations: 165.8 kB / 3.299 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002235/6.4, allocations: 81.39 kB / 3.299 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-05/6.4, allocations: 20.95 kB / 3.299 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004329/6.4, allocations: 1.195 MB / 3.3 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/6.4, allocations: 14.97 kB / 3.3 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002293/6.403, allocations: 1.455 MB / 3.301 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000491/6.403, allocations: 279 kB / 3.302 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001978/6.403, allocations: 26.59 kB / 3.302 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008879/6.404, allocations: 98.22 kB / 3.302 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/6.404, allocations: 59.36 kB / 3.302 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.126e-05/6.404, allocations: 27.72 kB / 3.302 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001046/6.406, allocations: 0.7847 MB / 3.303 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.51e-07/6.406, allocations: 3.281 kB / 3.303 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003093/6.409, allocations: 1.064 MB / 3.304 GB, free: 56.65 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (fan.vol.dynBal.U,fan.vol.dynBal.m,fan.vol.dynBal.mXi[1],fan.filter.s[1],fan.filter.s[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 (68): * Single equations (assignments): 64 * 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.003949/6.413, allocations: 2.732 MB / 3.306 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003148/6.416, allocations: 1.594 MB / 3.308 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/6.416, allocations: 3.906 kB / 3.308 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008042/6.417, allocations: 417 kB / 3.308 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003212/6.42, allocations: 0.6324 MB / 3.309 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00486/6.425, allocations: 3.143 MB / 3.312 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008634/6.426, allocations: 1.283 MB / 3.313 GB, free: 52.31 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00144/6.427, allocations: 333.7 kB / 3.314 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002894/6.427, allocations: 101.9 kB / 3.314 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of SimCode: time 5.41e-07/6.427, allocations: 0 / 3.314 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of Templates: time 0.06735/6.495, allocations: 53.53 MB / 3.366 GB, free: 8.395 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y.sim & ./IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)