Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic") translateModel(BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7472/0.7472, allocations: 140.1 MB / 156 MB, free: 5.176 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.001024/0.001024, allocations: 174.2 kB / 188.5 MB, free: 15.86 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 205.4 MB / 426.3 MB, free: 8.484 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009037/0.0009036, allocations: 82.42 kB / 0.4945 GB, free: 8.43 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001676/0.001676, allocations: 269.1 kB / 0.5728 GB, free: 66.25 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008352/0.0008353, allocations: 20 kB / 0.662 GB, free: 6.836 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3955, allocations: 79.3 MB / 0.7395 GB, free: 46.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.514/4.909, allocations: 2.088 GB / 2.827 GB, free: 196 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003386/4.91, allocations: 95.95 kB / 2.827 GB, free: 195.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 17.13/22.04, allocations: 4.373 GB / 7.2 GB, free: 39.39 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.134e-06/22.04, allocations: 0 / 7.2 GB, free: 39.39 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.001525/22.04, allocations: 163.3 kB / 7.2 GB, free: 39.37 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 817 * Number of variables: 817 Notification: Performance of Generate backend data structure: time 0.04084/22.08, allocations: 10.89 MB / 7.211 GB, free: 35.7 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/22.08, allocations: 12.16 kB / 7.211 GB, free: 35.7 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01398/22.1, allocations: 1.651 MB / 7.213 GB, free: 35.3 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03306/22.13, allocations: 11.42 MB / 7.224 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005186/22.13, allocations: 284.7 kB / 7.224 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002237/22.13, allocations: 389 kB / 7.224 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01708/22.15, allocations: 4.402 MB / 7.229 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002919/22.15, allocations: 0 / 7.229 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001801/22.15, allocations: 139.8 kB / 7.229 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001838/22.15, allocations: 116.7 kB / 7.229 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01032/22.16, allocations: 3.246 MB / 7.232 GB, free: 33.36 MB / 0.8386 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.0447/22.21, allocations: 20.15 MB / 7.252 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006927/22.21, allocations: 3.136 MB / 7.255 GB, free: 25.26 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002814/22.22, allocations: 1.402 MB / 7.256 GB, free: 25.23 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004381/22.22, allocations: 227.9 kB / 7.256 GB, free: 25.04 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003699/22.22, allocations: 1.846 MB / 7.258 GB, free: 24.97 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004365/22.22, allocations: 362.8 kB / 7.259 GB, free: 24.85 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=207): time 1.473e-05/22.22, allocations: 2.906 kB / 7.259 GB, free: 24.85 MB / 0.8386 GB Notification: Performance of matching and sorting (n=207): time 0.01386/22.24, allocations: 4.421 MB / 7.263 GB, free: 24.24 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001701/22.24, allocations: 337.1 kB / 7.263 GB, free: 23.86 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01983/22.26, allocations: 7.151 MB / 7.27 GB, free: 23.44 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.001164/22.26, allocations: 95.23 kB / 7.27 GB, free: 23.41 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.004122/22.26, allocations: 2.841 MB / 7.273 GB, free: 22.76 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001659/22.27, allocations: 0.7183 MB / 7.274 GB, free: 22.3 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003001/22.27, allocations: 61.12 kB / 7.274 GB, free: 22.3 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002877/22.27, allocations: 436.9 kB / 7.274 GB, free: 21.98 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002725/22.27, allocations: 1.341 MB / 7.276 GB, free: 21.97 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003734/22.27, allocations: 2.664 MB / 7.278 GB, free: 20.43 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005765/22.28, allocations: 3.828 MB / 7.282 GB, free: 18.75 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.212e-05/22.28, allocations: 10.31 kB / 7.282 GB, free: 18.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.009247/22.29, allocations: 4.54 MB / 7.286 GB, free: 16.91 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006165/22.29, allocations: 1.009 MB / 7.287 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-05/22.29, allocations: 37.06 kB / 7.287 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000896/22.29, allocations: 279.8 kB / 7.288 GB, free: 15.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003671/22.29, allocations: 0.738 MB / 7.288 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002619/22.3, allocations: 3.464 MB / 7.292 GB, free: 12.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006746/22.3, allocations: 346.5 kB / 7.292 GB, free: 12.33 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009471/22.3, allocations: 276.5 kB / 7.292 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/22.3, allocations: 8.938 kB / 7.292 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00955/22.31, allocations: 4.339 MB / 7.297 GB, free: 10.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001463/22.31, allocations: 41.34 kB / 7.297 GB, free: 10.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001293/22.31, allocations: 0.5522 MB / 7.297 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003153/22.32, allocations: 0.7086 MB / 7.298 GB, free: 10.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009394/22.33, allocations: 7.261 MB / 7.305 GB, free: 5.832 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006714/22.33, allocations: 340.5 kB / 7.305 GB, free: 5.762 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001007/22.33, allocations: 237.1 kB / 7.306 GB, free: 5.734 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (359): * Single equations (assignments): 341 * Array equations: 8 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.005631/22.34, allocations: 1.612 MB / 7.307 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002462/22.34, allocations: 0.5616 MB / 7.308 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01027/22.35, allocations: 3.37 MB / 7.311 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/22.35, allocations: 26.38 kB / 7.311 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/22.35, allocations: 0 / 7.311 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004984/22.36, allocations: 2.884 MB / 7.314 GB, free: 1.859 MB / 0.8386 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.02463/22.38, allocations: 9.168 MB / 7.323 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.481e-05/22.38, allocations: 7.156 kB / 7.323 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002911/22.39, allocations: 0.5362 MB / 7.323 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006367/22.39, allocations: 237.2 kB / 7.323 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004199/22.39, allocations: 73.06 kB / 7.324 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0025/22.39, allocations: 3.295 MB / 7.327 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/22.39, allocations: 3.938 kB / 7.327 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01327/22.4, allocations: 4.839 MB / 7.331 GB, free: 7.09 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004456/22.41, allocations: 1.212 MB / 7.333 GB, free: 5.992 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002191/22.41, allocations: 51.66 kB / 7.333 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005225/22.41, allocations: 332.9 kB / 7.333 GB, free: 5.699 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005322/22.42, allocations: 147.6 kB / 7.333 GB, free: 5.605 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004269/22.42, allocations: 102.7 kB / 7.333 GB, free: 5.516 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.01207/22.43, allocations: 4.918 MB / 7.338 GB, free: 1.395 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.8e-07/22.43, allocations: 0 / 7.338 GB, free: 1.395 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01953/22.45, allocations: 3.675 MB / 7.342 GB, free: 13.97 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 20 (fan1.vol.dynBal.U,fan1.vol.dynBal.m,fan1.vol.dynBal.mXi[1],fan1.filter.x[1],fan1.filter.x[2],fan3.vol.dynBal.U,fan3.vol.dynBal.m,fan3.vol.dynBal.mXi[1],fan3.filter.x[1],fan3.filter.x[2],fan2.vol.dynBal.U,fan2.vol.dynBal.m,fan2.vol.dynBal.mXi[1],fan2.filter.x[1],fan2.filter.x[2],fan4.vol.dynBal.U,fan4.vol.dynBal.m,fan4.vol.dynBal.mXi[1],fan4.filter.x[1],fan4.filter.x[2]) * 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 (203): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.02048/22.47, allocations: 11.06 MB / 7.352 GB, free: 3.625 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.6695/23.14, allocations: 6.515 MB / 7.359 GB, free: 74.31 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.409e-05/23.14, allocations: 3.797 kB / 7.359 GB, free: 74.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003841/23.14, allocations: 1.392 MB / 7.36 GB, free: 74.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02073/23.16, allocations: 3.234 MB / 7.363 GB, free: 74.26 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0281/23.19, allocations: 12.65 MB / 7.376 GB, free: 69.33 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0086/23.2, allocations: 3.488 MB / 7.379 GB, free: 68.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01089/23.21, allocations: 1.679 MB / 7.381 GB, free: 68.44 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00261/23.21, allocations: 475.1 kB / 7.381 GB, free: 68.44 MB / 0.8698 GB Notification: Performance of SimCode: time 2.014e-06/23.21, allocations: 1.688 kB / 7.381 GB, free: 68.44 MB / 0.8698 GB Notification: Performance of Templates: time 0.3001/23.51, allocations: 208.1 MB / 7.584 GB, free: 40.72 MB / 0.8698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe 2>&1)