Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y") translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.329/1.329, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009407/0.0009407, allocations: 179.9 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.444/1.444, allocations: 205 MB / 0.5766 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007763/0.0007768, allocations: 90.41 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002808/0.0002809, allocations: 9.062 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1506, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ClosedLoop_y): time 0.521/0.6716, allocations: 203.4 MB / 1.095 GB, free: 1.449 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01739/0.689, allocations: 16.78 MB / 1.112 GB, free: 1.086 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001809/0.6909, allocations: 50.22 kB / 1.112 GB, free: 1.086 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002045/0.6929, allocations: 0.856 MB / 1.113 GB, free: 1.059 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005169/0.6981, allocations: 2.298 MB / 1.115 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005799/0.7039, allocations: 2.468 MB / 1.117 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004362/0.7083, allocations: 4.89 MB / 1.122 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001296/0.7096, allocations: 1.157 MB / 1.123 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002981/0.7126, allocations: 1.766 MB / 1.125 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001485/0.7141, allocations: 1.132 MB / 1.126 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001545/0.7142, allocations: 60.94 kB / 1.126 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003893/0.7181, allocations: 2.691 MB / 1.129 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004349/0.7186, allocations: 0.4991 MB / 1.129 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006735/0.7193, allocations: 0.7912 MB / 1.13 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004307/0.7236, allocations: 3.415 MB / 1.133 GB, free: 120 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.7236, allocations: 5.812 kB / 1.133 GB, free: 116 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7236, allocations: 0 / 1.133 GB, free: 116 kB / 0.698 GB Notification: Performance of Transformations before backend: time 2.959e-05/0.7236, allocations: 0 / 1.133 GB, free: 116 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003489/0.7271, allocations: 1.928 MB / 1.135 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.7272, allocations: 8.969 kB / 1.135 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002457/0.7297, allocations: 454 kB / 1.136 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002077/0.7317, allocations: 1.34 MB / 1.137 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.848e-05/0.7318, allocations: 85.17 kB / 1.137 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.732, allocations: 114.1 kB / 1.137 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/0.7338, allocations: 1.191 MB / 1.138 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/0.7338, allocations: 0 / 1.138 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.7339, allocations: 43.09 kB / 1.138 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.82e-05/0.734, allocations: 33.7 kB / 1.138 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.7356, allocations: 0.9007 MB / 1.139 GB, free: 14.29 MB / 0.7136 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.005342/0.741, allocations: 4.905 MB / 1.144 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/0.7426, allocations: 0.7961 MB / 1.145 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007137/0.7433, allocations: 423.1 kB / 1.145 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001714/0.7435, allocations: 107.8 kB / 1.145 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007888/0.7443, allocations: 480.2 kB / 1.146 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003322/0.7446, allocations: 85.22 kB / 1.146 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=69): time 2.365e-06/0.7447, allocations: 4 kB / 1.146 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69): time 0.002705/0.7474, allocations: 1.237 MB / 1.147 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.715e-05/0.7475, allocations: 134.2 kB / 1.147 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.7487, allocations: 1.19 MB / 1.148 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.681e-05/0.7488, allocations: 47.81 kB / 1.148 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004861/0.7493, allocations: 0.671 MB / 1.149 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/0.7495, allocations: 245.4 kB / 1.149 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.7496, allocations: 78.73 kB / 1.149 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.7497, allocations: 346.6 kB / 1.15 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007229/0.7505, allocations: 394.7 kB / 1.15 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008613/0.7513, allocations: 0.6548 MB / 1.151 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001545/0.7529, allocations: 1.014 MB / 1.152 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.7529, allocations: 4 kB / 1.152 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002059/0.755, allocations: 1.263 MB / 1.153 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001751/0.7552, allocations: 276.4 kB / 1.153 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.7552, allocations: 10.2 kB / 1.153 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000418/0.7556, allocations: 129.9 kB / 1.153 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008102/0.7564, allocations: 199.1 kB / 1.154 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007451/0.7572, allocations: 1.221 MB / 1.155 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.7582, allocations: 90.38 kB / 1.155 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-05/0.7583, allocations: 47.42 kB / 1.155 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.612e-06/0.7583, allocations: 6.656 kB / 1.155 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001979/0.7603, allocations: 1.072 MB / 1.156 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.7603, allocations: 8.062 kB / 1.156 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005201/0.7608, allocations: 155.1 kB / 1.156 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006852/0.7615, allocations: 178.2 kB / 1.156 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003843/0.7654, allocations: 2.791 MB / 1.159 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009961/0.7664, allocations: 80.41 kB / 1.159 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.808e-05/0.7665, allocations: 44.7 kB / 1.159 GB, free: 1.559 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 6 (y.count,$PRE.y.count,y.T_start,$PRE.y.T_start,$whenCondition1,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 94 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000713/0.7672, allocations: 477.6 kB / 1.16 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.7674, allocations: 138 kB / 1.16 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001805/0.7692, allocations: 0.9435 MB / 1.161 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001486/0.7707, allocations: 0.833 MB / 1.161 GB, free: 112 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.7707, allocations: 0 / 1.161 GB, free: 112 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004845/0.7712, allocations: 282.2 kB / 1.162 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/0.7713, allocations: 21.19 kB / 1.162 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007183/0.7721, allocations: 75.2 kB / 1.162 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.7722, allocations: 58.73 kB / 1.162 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002252/0.7745, allocations: 0.9703 MB / 1.163 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002104/0.7766, allocations: 1.419 MB / 1.164 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005817/0.7772, allocations: 347.9 kB / 1.164 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000991/0.7782, allocations: 0.8109 MB / 1.165 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of Backend: time 3.5e-07/0.7782, allocations: 4 kB / 1.165 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004716/0.7829, allocations: 2.142 MB / 1.167 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of SimCode: time 0.005726/0.7887, allocations: 3.973 MB / 1.171 GB, free: 8.637 MB / 0.7292 GB Notification: Performance of Templates: time 0.05459/0.8433, allocations: 35.55 MB / 1.206 GB, free: 5.453 MB / 0.7605 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)