Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachine") translateModel(Buildings.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009185/0.0009184, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.644/1.644, allocations: 292.5 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004935/0.0004936, allocations: 17.67 kB / 0.6735 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2217, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.ControlledFlowMachine): time 0.7074/0.9292, allocations: 300.9 MB / 1.081 GB, free: 11.42 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.06216/0.9914, allocations: 45.25 MB / 1.125 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008576/1, allocations: 146.9 kB / 1.125 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01068/1.011, allocations: 2.625 MB / 1.128 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.025/1.036, allocations: 7.582 MB / 1.135 GB, free: 3.715 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01432/1.05, allocations: 5.234 MB / 1.14 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01649/1.067, allocations: 7.512 MB / 1.148 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006654/1.073, allocations: 3.432 MB / 1.151 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01567/1.089, allocations: 5.312 MB / 1.156 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00582/1.095, allocations: 2.74 MB / 1.159 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001554/1.096, allocations: 236 kB / 1.159 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009453/1.106, allocations: 3.027 MB / 1.162 GB, free: 8.191 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.003357/1.109, allocations: 2.049 MB / 1.164 GB, free: 6.137 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.003234/1.113, allocations: 1.358 MB / 1.165 GB, free: 4.77 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0123/1.125, allocations: 8.288 MB / 1.174 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/1.125, allocations: 4 kB / 1.174 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.693e-06/1.125, allocations: 0 / 1.174 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002924/1.125, allocations: 0 / 1.174 GB, free: 12.46 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 744 * Number of variables: 744 Notification: Performance of Generate backend data structure: time 0.01476/1.14, allocations: 6.894 MB / 1.18 GB, free: 5.469 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/1.14, allocations: 12.56 kB / 1.18 GB, free: 5.457 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008453/1.148, allocations: 1.455 MB / 1.182 GB, free: 3.992 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01666/1.165, allocations: 10.89 MB / 1.192 GB, free: 9.016 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002017/1.165, allocations: 257.8 kB / 1.193 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006132/1.166, allocations: 343.9 kB / 1.193 GB, free: 8.426 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006245/1.172, allocations: 3.933 MB / 1.197 GB, free: 4.379 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.143e-05/1.172, allocations: 4 kB / 1.197 GB, free: 4.375 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002936/1.173, allocations: 120 kB / 1.197 GB, free: 4.258 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-05/1.173, allocations: 109.6 kB / 1.197 GB, free: 4.148 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004742/1.177, allocations: 2.805 MB / 1.2 GB, free: 1.332 MB / 0.9044 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.02568/1.203, allocations: 17.95 MB / 1.217 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004036/1.207, allocations: 2.139 MB / 1.219 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001505/1.207, allocations: 41.88 kB / 1.219 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002436/1.21, allocations: 1.607 MB / 1.221 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002792/1.213, allocations: 389.3 kB / 1.221 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=176): time 5.67e-06/1.213, allocations: 0 / 1.221 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=176): time 0.007598/1.22, allocations: 3.648 MB / 1.225 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.265e-05/1.22, allocations: 154.5 kB / 1.225 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01109/1.232, allocations: 8.539 MB / 1.233 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0006214/1.232, allocations: 81.7 kB / 1.233 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.002643/1.235, allocations: 2.678 MB / 1.236 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009182/1.236, allocations: 0.6084 MB / 1.237 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/1.236, allocations: 55.98 kB / 1.237 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002138/1.236, allocations: 420.1 kB / 1.237 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001972/1.238, allocations: 1.27 MB / 1.238 GB, free: 8.426 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002752/1.241, allocations: 2.467 MB / 1.241 GB, free: 5.406 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002362/1.243, allocations: 1.616 MB / 1.242 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.408e-05/1.243, allocations: 11.94 kB / 1.242 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.006732/1.25, allocations: 4.275 MB / 1.246 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.004764/1.255, allocations: 15.05 MB / 1.261 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.766e-05/1.255, allocations: 28 kB / 1.261 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/1.256, allocations: 281.5 kB / 1.261 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003338/1.259, allocations: 0.6435 MB / 1.262 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003159/1.262, allocations: 3.749 MB / 1.266 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004961/1.267, allocations: 312.8 kB / 1.266 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006275/1.268, allocations: 244 kB / 1.266 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/1.268, allocations: 4 kB / 1.266 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008126/1.276, allocations: 4.642 MB / 1.271 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.867e-05/1.276, allocations: 35.98 kB / 1.271 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001628/1.278, allocations: 0.6697 MB / 1.272 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0026/1.281, allocations: 0.6202 MB / 1.272 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4348/1.715, allocations: 8.692 MB / 1.281 GB, free: 365.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004797/1.72, allocations: 329.5 kB / 1.281 GB, free: 365.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006111/1.721, allocations: 205.8 kB / 1.281 GB, free: 365.8 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * 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 (324): * Single equations (assignments): 312 * Array equations: 5 * Algorithm blocks: 1 * Record equations: 1 * 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 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.003382/1.724, allocations: 1.531 MB / 1.283 GB, free: 365.6 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001297/1.726, allocations: 0.5217 MB / 1.283 GB, free: 365.6 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005033/1.731, allocations: 2.92 MB / 1.286 GB, free: 365.4 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/1.731, allocations: 22.34 kB / 1.286 GB, free: 365.4 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.731, allocations: 0 / 1.286 GB, free: 365.4 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003187/1.734, allocations: 2.465 MB / 1.288 GB, free: 364.7 MB / 0.9825 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.01554/1.749, allocations: 7.129 MB / 1.295 GB, free: 361.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/1.749, allocations: 6.406 kB / 1.295 GB, free: 361.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002542/1.752, allocations: 498.9 kB / 1.296 GB, free: 361.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007917/1.753, allocations: 269.5 kB / 1.296 GB, free: 361.6 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001708/1.753, allocations: 60.2 kB / 1.296 GB, free: 361.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/1.755, allocations: 3.497 MB / 1.3 GB, free: 358.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.755, allocations: 2.156 kB / 1.3 GB, free: 358.5 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007493/1.763, allocations: 4.394 MB / 1.304 GB, free: 356.3 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003006/1.766, allocations: 0.8473 MB / 1.305 GB, free: 355.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001173/1.767, allocations: 46.38 kB / 1.305 GB, free: 355.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003367/1.77, allocations: 305.4 kB / 1.305 GB, free: 355.7 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003303/1.77, allocations: 130 kB / 1.305 GB, free: 355.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002415/1.771, allocations: 88.69 kB / 1.305 GB, free: 355.7 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.01146/1.782, allocations: 6.159 MB / 1.311 GB, free: 353.3 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5.61e-07/1.782, allocations: 3.25 kB / 1.311 GB, free: 353.3 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.01052/1.793, allocations: 2.575 MB / 1.314 GB, free: 353.1 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 14 (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],fan2.vol.dynBal.U,fan2.vol.dynBal.m,fan2.vol.dynBal.mXi[1],fan4.vol.dynBal.U,fan4.vol.dynBal.m,fan4.vol.dynBal.mXi[1]) * 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 (174): * Single equations (assignments): 167 * 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 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001738/1.795, allocations: 0.6386 MB / 1.314 GB, free: 352.9 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01011/1.805, allocations: 5.734 MB / 1.32 GB, free: 350.7 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/1.805, allocations: 4.406 kB / 1.32 GB, free: 350.7 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00251/1.807, allocations: 1.173 MB / 1.321 GB, free: 350.3 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01397/1.821, allocations: 3.169 MB / 1.324 GB, free: 349.7 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01672/1.838, allocations: 11.61 MB / 1.336 GB, free: 342.9 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002722/1.841, allocations: 3.428 MB / 1.339 GB, free: 339.4 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.00735/1.848, allocations: 1.489 MB / 1.34 GB, free: 337.9 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001308/1.849, allocations: 403.3 kB / 1.341 GB, free: 337.5 MB / 0.9825 GB Notification: Performance of SimCode: time 1.383e-06/1.849, allocations: 0 / 1.341 GB, free: 337.5 MB / 0.9825 GB Notification: Performance of Templates: time 0.1503/2, allocations: 119.4 MB / 1.457 GB, free: 219.4 MB / 0.9825 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.sim & ./Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe 2>&1) Environment - environmentSimulation: