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.0008064/0.0008064, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.000929/0.0009291, allocations: 172.7 kB / 15.95 MB, free: 208 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.378/1.378, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.725/1.725, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005154/0.0005155, allocations: 21.19 kB / 0.6737 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2234, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.ControlledFlowMachine): time 0.7767/1, allocations: 341.6 MB / 1.121 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.06005/1.06, allocations: 47.35 MB / 1.167 GB, free: 6.977 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007957/1.068, allocations: 154.9 kB / 1.167 GB, free: 6.824 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.007783/1.076, allocations: 1.98 MB / 1.169 GB, free: 4.832 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.02187/1.098, allocations: 6.57 MB / 1.176 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.01209/1.11, allocations: 4.171 MB / 1.18 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01865/1.129, allocations: 14.98 MB / 1.194 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006515/1.135, allocations: 3.361 MB / 1.198 GB, free: 7.668 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01507/1.15, allocations: 5.809 MB / 1.203 GB, free: 1.836 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01028/1.161, allocations: 4.091 MB / 1.207 GB, free: 13.73 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001728/1.162, allocations: 240 kB / 1.207 GB, free: 13.49 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01092/1.173, allocations: 3.676 MB / 1.211 GB, free: 9.809 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.00367/1.177, allocations: 2.29 MB / 1.213 GB, free: 7.512 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002898/1.18, allocations: 1.346 MB / 1.215 GB, free: 6.156 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01568/1.196, allocations: 8.646 MB / 1.223 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.196, allocations: 0 / 1.223 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.154e-06/1.196, allocations: 4 kB / 1.223 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.00032/1.196, allocations: 0 / 1.223 GB, free: 13.49 MB / 0.9356 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.01579/1.212, allocations: 6.903 MB / 1.23 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/1.212, allocations: 12.03 kB / 1.23 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009031/1.221, allocations: 1.448 MB / 1.231 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01208/1.233, allocations: 5.868 MB / 1.237 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002263/1.233, allocations: 253.7 kB / 1.237 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008564/1.234, allocations: 343.9 kB / 1.238 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007076/1.241, allocations: 4.132 MB / 1.242 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.74e-05/1.241, allocations: 3.938 kB / 1.242 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002937/1.242, allocations: 124 kB / 1.242 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.363e-05/1.242, allocations: 105.6 kB / 1.242 GB, free: 10 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005276/1.247, allocations: 3.008 MB / 1.245 GB, free: 6.98 MB / 0.9512 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.02402/1.271, allocations: 17.95 MB / 1.262 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00393/1.275, allocations: 2.346 MB / 1.265 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001909/1.277, allocations: 1.28 MB / 1.266 GB, free: 188 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003756/1.277, allocations: 224.1 kB / 1.266 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002418/1.28, allocations: 1.799 MB / 1.268 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002817/1.283, allocations: 369.5 kB / 1.268 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=176): time 5.33e-06/1.283, allocations: 0 / 1.268 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=176): time 0.007938/1.291, allocations: 3.976 MB / 1.272 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.715e-05/1.291, allocations: 150.5 kB / 1.272 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008185/1.299, allocations: 5.675 MB / 1.278 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0005776/1.3, allocations: 89.69 kB / 1.278 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.002464/1.302, allocations: 2.623 MB / 1.28 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009656/1.303, allocations: 0.6083 MB / 1.281 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/1.303, allocations: 55.94 kB / 1.281 GB, free: 480 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002105/1.303, allocations: 428.1 kB / 1.281 GB, free: 44 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4918/1.795, allocations: 1.362 MB / 1.283 GB, free: 372.8 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004032/1.799, allocations: 2.593 MB / 1.285 GB, free: 371.4 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003383/1.803, allocations: 1.729 MB / 1.287 GB, free: 371.3 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.66e-05/1.803, allocations: 8.688 kB / 1.287 GB, free: 371.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.007687/1.811, allocations: 4.476 MB / 1.291 GB, free: 370.1 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005655/1.811, allocations: 1.023 MB / 1.292 GB, free: 368.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.512e-05/1.811, allocations: 31.72 kB / 1.292 GB, free: 368.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009069/1.812, allocations: 297.3 kB / 1.293 GB, free: 368.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002782/1.815, allocations: 0.6265 MB / 1.293 GB, free: 368.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002654/1.818, allocations: 3.771 MB / 1.297 GB, free: 365.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005358/1.823, allocations: 312.7 kB / 1.297 GB, free: 365.4 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007262/1.824, allocations: 222.9 kB / 1.297 GB, free: 365.4 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/1.824, allocations: 2.469 kB / 1.297 GB, free: 365.4 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0111/1.835, allocations: 4.87 MB / 1.302 GB, free: 363.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001543/1.835, allocations: 31.53 kB / 1.302 GB, free: 363.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001953/1.837, allocations: 0.6809 MB / 1.303 GB, free: 363.4 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002757/1.84, allocations: 0.6251 MB / 1.303 GB, free: 363.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0126/1.852, allocations: 8.756 MB / 1.312 GB, free: 358.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005146/1.858, allocations: 323.4 kB / 1.312 GB, free: 358.3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000788/1.858, allocations: 194.8 kB / 1.313 GB, free: 358.3 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 (322): * Single equations (assignments): 310 * 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 6,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.004692/1.863, allocations: 1.533 MB / 1.314 GB, free: 357.5 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002024/1.865, allocations: 0.5139 MB / 1.315 GB, free: 357.2 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007196/1.872, allocations: 3.065 MB / 1.318 GB, free: 356.1 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/1.872, allocations: 19.78 kB / 1.318 GB, free: 356.1 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/1.872, allocations: 3.219 kB / 1.318 GB, free: 356.1 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003754/1.876, allocations: 2.684 MB / 1.32 GB, free: 354.8 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.01334/1.89, allocations: 7.33 MB / 1.327 GB, free: 351.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/1.89, allocations: 7.906 kB / 1.327 GB, free: 351.6 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002002/1.892, allocations: 492.6 kB / 1.328 GB, free: 351.6 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005631/1.892, allocations: 277.8 kB / 1.328 GB, free: 351.5 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00014/1.892, allocations: 59.22 kB / 1.328 GB, free: 351.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001681/1.894, allocations: 3.523 MB / 1.332 GB, free: 348.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.894, allocations: 7.453 kB / 1.332 GB, free: 348.3 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006423/1.9, allocations: 4.48 MB / 1.336 GB, free: 346.4 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002174/1.903, allocations: 0.7993 MB / 1.337 GB, free: 345.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001138/1.904, allocations: 48.14 kB / 1.337 GB, free: 345.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003271/1.907, allocations: 292.2 kB / 1.337 GB, free: 345.8 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002214/1.907, allocations: 117.7 kB / 1.337 GB, free: 345.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001675/1.908, allocations: 81.41 kB / 1.337 GB, free: 345.7 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00653/1.914, allocations: 3.884 MB / 1.341 GB, free: 343.9 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.6e-07/1.914, allocations: 3.875 kB / 1.341 GB, free: 343.9 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.009482/1.924, allocations: 2.573 MB / 1.344 GB, free: 341.8 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 (172): * Single equations (assignments): 165 * 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 7,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001423/1.925, allocations: 0.6345 MB / 1.344 GB, free: 341.3 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.009763/1.935, allocations: 6.053 MB / 1.35 GB, free: 335.3 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/1.935, allocations: 4.094 kB / 1.35 GB, free: 335.3 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002152/1.937, allocations: 1.283 MB / 1.351 GB, free: 334 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01326/1.95, allocations: 3.199 MB / 1.354 GB, free: 330.9 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01516/1.966, allocations: 11.76 MB / 1.366 GB, free: 319 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002616/1.968, allocations: 3.316 MB / 1.369 GB, free: 315.7 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.005996/1.974, allocations: 1.398 MB / 1.371 GB, free: 314.3 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009656/1.975, allocations: 363.4 kB / 1.371 GB, free: 313.9 MB / 0.9825 GB Notification: Performance of SimCode: time 1.072e-06/1.975, allocations: 0 / 1.371 GB, free: 313.9 MB / 0.9825 GB Notification: Performance of Templates: time 0.1577/2.133, allocations: 118.9 MB / 1.487 GB, free: 196.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: