Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.Examples.ClosedLoop_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Examples.ClosedLoop_y") translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.829/1.829, allocations: 297.8 MB / 313.8 MB, free: 148 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001855/0.001856, allocations: 188.4 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.665/1.665, allocations: 223.2 MB / 0.6626 GB, free: 4.266 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 90.38 kB / 0.7808 GB, free: 50.36 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004922/0.0004923, allocations: 13.66 kB / 0.9088 GB, free: 2.914 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9649/0.9654, allocations: 120.3 MB / 1.026 GB, free: 55.76 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.132/6.098, allocations: 1.94 GB / 2.966 GB, free: 271.9 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/6.098, allocations: 97.08 kB / 2.966 GB, free: 271.9 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.559/8.658, allocations: 0.8087 GB / 3.775 GB, free: 144.9 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.573e-06/8.658, allocations: 0.9375 kB / 3.775 GB, free: 144.9 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0002749/8.658, allocations: 34.84 kB / 3.775 GB, free: 144.9 MB / 0.9792 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.007612/8.666, allocations: 2.305 MB / 3.777 GB, free: 143.9 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/8.666, allocations: 11.03 kB / 3.777 GB, free: 143.9 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003071/8.669, allocations: 422.5 kB / 3.778 GB, free: 143.8 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004728/8.673, allocations: 1.824 MB / 3.779 GB, free: 143.3 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.929e-05/8.674, allocations: 78.5 kB / 3.779 GB, free: 143.3 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003812/8.674, allocations: 107.2 kB / 3.78 GB, free: 143.3 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002548/8.676, allocations: 1.163 MB / 3.781 GB, free: 143.2 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.777e-05/8.677, allocations: 11.38 kB / 3.781 GB, free: 143.2 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001338/8.677, allocations: 39.16 kB / 3.781 GB, free: 143.2 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.359e-05/8.677, allocations: 42.42 kB / 3.781 GB, free: 143.2 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001984/8.679, allocations: 0.9127 MB / 3.782 GB, free: 143.1 MB / 0.9792 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.00697/8.686, allocations: 4.929 MB / 3.786 GB, free: 140.9 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001797/8.688, allocations: 0.9441 MB / 3.787 GB, free: 140.7 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006823/8.688, allocations: 402.7 kB / 3.788 GB, free: 140.7 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001801/8.688, allocations: 115.3 kB / 3.788 GB, free: 140.6 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008081/8.689, allocations: 487.1 kB / 3.788 GB, free: 140.6 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007089/8.69, allocations: 87.75 kB / 3.788 GB, free: 140.5 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=72): time 3.867e-06/8.69, allocations: 0 / 3.788 GB, free: 140.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=72): time 0.003115/8.693, allocations: 1.293 MB / 3.79 GB, free: 140.3 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/8.693, allocations: 126.8 kB / 3.79 GB, free: 140.2 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001809/8.695, allocations: 1.159 MB / 3.791 GB, free: 140 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001134/8.695, allocations: 48.73 kB / 3.791 GB, free: 140 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005529/8.696, allocations: 0.6416 MB / 3.792 GB, free: 139.8 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/8.696, allocations: 253.4 kB / 3.792 GB, free: 139.6 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.187e-05/8.696, allocations: 14.56 kB / 3.792 GB, free: 139.6 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.268e-05/8.696, allocations: 341.2 kB / 3.792 GB, free: 139.3 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006513/8.697, allocations: 332.7 kB / 3.793 GB, free: 139.3 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007633/8.697, allocations: 0.5971 MB / 3.793 GB, free: 139 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/8.699, allocations: 0.9037 MB / 3.794 GB, free: 138.7 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/8.699, allocations: 0 / 3.794 GB, free: 138.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002051/8.701, allocations: 1.113 MB / 3.795 GB, free: 138.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001381/8.701, allocations: 281.6 kB / 3.795 GB, free: 138.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/8.701, allocations: 3.906 kB / 3.795 GB, free: 138.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004195/8.702, allocations: 94.45 kB / 3.795 GB, free: 138.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008831/8.702, allocations: 219.7 kB / 3.796 GB, free: 138.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006001/8.703, allocations: 1.208 MB / 3.797 GB, free: 137 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/8.704, allocations: 100.7 kB / 3.797 GB, free: 136.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/8.705, allocations: 51.19 kB / 3.797 GB, free: 136.9 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 7.784e-06/8.705, allocations: 5.938 kB / 3.797 GB, free: 136.9 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001814/8.706, allocations: 1.014 MB / 3.798 GB, free: 136.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/8.706, allocations: 3.875 kB / 3.798 GB, free: 136.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003934/8.707, allocations: 105.3 kB / 3.798 GB, free: 136.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007163/8.708, allocations: 197.6 kB / 3.798 GB, free: 136.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003534/8.711, allocations: 2.662 MB / 3.801 GB, free: 134.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/8.713, allocations: 105 kB / 3.801 GB, free: 134.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/8.713, allocations: 45.27 kB / 3.801 GB, free: 134.5 MB / 0.9792 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.001083/8.714, allocations: 464.1 kB / 3.801 GB, free: 134.1 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003636/8.714, allocations: 134.3 kB / 3.802 GB, free: 134.1 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002191/8.716, allocations: 0.972 MB / 3.803 GB, free: 133.7 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/8.716, allocations: 7.5 kB / 3.803 GB, free: 133.7 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/8.716, allocations: 0 / 3.803 GB, free: 133.7 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001463/8.718, allocations: 0.8772 MB / 3.803 GB, free: 133.2 MB / 0.9792 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.004399/8.722, allocations: 2.319 MB / 3.806 GB, free: 132.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/8.722, allocations: 0 / 3.806 GB, free: 132.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007815/8.723, allocations: 176.7 kB / 3.806 GB, free: 132.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002356/8.723, allocations: 74.77 kB / 3.806 GB, free: 132.1 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-05/8.723, allocations: 18.94 kB / 3.806 GB, free: 132.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000457/8.724, allocations: 1.203 MB / 3.807 GB, free: 130.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/8.724, allocations: 0 / 3.807 GB, free: 130.9 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002439/8.726, allocations: 1.461 MB / 3.809 GB, free: 130.2 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007192/8.727, allocations: 279.2 kB / 3.809 GB, free: 130 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002736/8.727, allocations: 25.55 kB / 3.809 GB, free: 130 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/8.728, allocations: 101.8 kB / 3.809 GB, free: 130 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/8.729, allocations: 59.42 kB / 3.809 GB, free: 130 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.639e-05/8.729, allocations: 27.22 kB / 3.809 GB, free: 130 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001346/8.73, allocations: 0.7923 MB / 3.81 GB, free: 129.7 MB / 0.9792 GB Notification: Performance of sort global known variables: time 3.21e-07/8.73, allocations: 0 / 3.81 GB, free: 129.7 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.004085/8.734, allocations: 1.05 MB / 3.811 GB, free: 129.4 MB / 0.9792 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.004278/8.738, allocations: 2.75 MB / 3.813 GB, free: 128.4 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.003422/8.742, allocations: 1.593 MB / 3.815 GB, free: 127.7 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/8.742, allocations: 0 / 3.815 GB, free: 127.7 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0009681/8.743, allocations: 427.7 kB / 3.815 GB, free: 127.6 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003557/8.746, allocations: 0.6315 MB / 3.816 GB, free: 127.5 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004803/8.751, allocations: 3.138 MB / 3.819 GB, free: 125.8 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009368/8.752, allocations: 1.283 MB / 3.82 GB, free: 125 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.00159/8.754, allocations: 333.1 kB / 3.821 GB, free: 125 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003361/8.754, allocations: 99.28 kB / 3.821 GB, free: 125 MB / 0.9792 GB Notification: Performance of SimCode: time 8.12e-07/8.754, allocations: 0 / 3.821 GB, free: 125 MB / 0.9792 GB Notification: Performance of Templates: time 0.06969/8.824, allocations: 53.54 MB / 3.873 GB, free: 103.4 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & ./Buildings_latest_Buildings.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)