Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 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="mat",numberOfIntervals=5000,variableFilter="time|fan1.m_flow|fan2.m_flow|fan3.m_flow|fan1.dp|fan2.dp|fan3.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.ControlledFlowMachine") translateModel(Buildings.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fan1.m_flow|fan2.m_flow|fan3.m_flow|fan1.dp|fan2.dp|fan3.dp",fileNamePrefix="Buildings_latest_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.001294/0.001294, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001234/0.001234, allocations: 190.7 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.63/2.63, allocations: 469.4 MB / 0.7428 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 67.89 kB / 1.066 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6967/0.698, allocations: 159.1 MB / 1.221 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.ControlledFlowMachine): time 0.3026/1.001, allocations: 321.5 MB / 1.535 GB, free: 15.8 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.7162/1.717, allocations: 39.55 MB / 1.574 GB, free: 3.141 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005084/1.722, allocations: 149.8 kB / 1.574 GB, free: 3.141 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.008274/1.73, allocations: 3.429 MB / 1.577 GB, free: 3.133 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.01678/1.747, allocations: 7.498 MB / 1.584 GB, free: 2.996 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.008236/1.755, allocations: 3.665 MB / 1.588 GB, free: 2.93 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.04501/1.8, allocations: 36.29 MB / 1.623 GB, free: 2.617 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005443/1.806, allocations: 3.5 MB / 1.627 GB, free: 2.188 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01152/1.817, allocations: 6.021 MB / 1.633 GB, free: 2.098 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006078/1.824, allocations: 3.492 MB / 1.636 GB, free: 2.09 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.001093/1.825, allocations: 493.9 kB / 1.637 GB, free: 2.09 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01086/1.836, allocations: 5.685 MB / 1.642 GB, free: 2.039 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.002751/1.838, allocations: 2.481 MB / 1.644 GB, free: 2.039 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.004538/1.843, allocations: 3.352 MB / 1.648 GB, free: 1.27 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01566/1.859, allocations: 10.82 MB / 1.658 GB, free: 15.91 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.859, allocations: 0 / 1.658 GB, free: 15.91 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.814e-06/1.859, allocations: 0 / 1.658 GB, free: 15.91 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0001476/1.859, allocations: 0 / 1.658 GB, free: 15.91 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 572 * Number of variables: 572 Notification: Performance of Generate backend data structure: time 0.01477/1.874, allocations: 7.149 MB / 1.665 GB, free: 12.61 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/1.874, allocations: 10.88 kB / 1.665 GB, free: 12.61 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01031/1.884, allocations: 1.749 MB / 1.667 GB, free: 12.22 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01423/1.898, allocations: 8.49 MB / 1.675 GB, free: 10.91 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/1.898, allocations: 198.2 kB / 1.676 GB, free: 10.89 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005418/1.899, allocations: 262.8 kB / 1.676 GB, free: 10.89 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005745/1.905, allocations: 3.583 MB / 1.679 GB, free: 9.922 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.827e-05/1.905, allocations: 0 / 1.679 GB, free: 9.922 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002557/1.905, allocations: 92.47 kB / 1.679 GB, free: 9.922 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.931e-05/1.905, allocations: 89.31 kB / 1.679 GB, free: 9.914 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004946/1.91, allocations: 2.665 MB / 1.682 GB, free: 9.473 MB / 1.295 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.02082/1.931, allocations: 15.22 MB / 1.697 GB, free: 0.7266 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004233/1.935, allocations: 2.124 MB / 1.699 GB, free: 15.56 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002037/1.937, allocations: 1.129 MB / 1.7 GB, free: 14.8 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003183/1.937, allocations: 220.5 kB / 1.7 GB, free: 14.57 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002721/1.94, allocations: 1.731 MB / 1.702 GB, free: 13.36 MB / 1.311 GB Notification: Performance of pre-optimization done (n=137): time 5.72e-06/1.94, allocations: 0 / 1.702 GB, free: 13.36 MB / 1.311 GB Notification: Performance of matching and sorting (n=137): time 0.008394/1.949, allocations: 3.566 MB / 1.705 GB, free: 10.2 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/1.949, allocations: 64.72 kB / 1.706 GB, free: 10.13 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009443/1.958, allocations: 6.533 MB / 1.712 GB, free: 3.598 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0004855/1.959, allocations: 65.7 kB / 1.712 GB, free: 3.527 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.002172/1.961, allocations: 2.388 MB / 1.714 GB, free: 1.148 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006558/1.961, allocations: 0.496 MB / 1.715 GB, free: 0.6562 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00116/1.963, allocations: 0.8031 MB / 1.716 GB, free: 15.85 MB / 1.326 GB Notification: Performance of setup shared object (initialization): time 8.649e-05/1.963, allocations: 301.1 kB / 1.716 GB, free: 15.55 MB / 1.326 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003716/1.966, allocations: 2.566 MB / 1.718 GB, free: 12.98 MB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004409/1.971, allocations: 3.595 MB / 1.722 GB, free: 9.012 MB / 1.326 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007443/1.978, allocations: 5.835 MB / 1.728 GB, free: 2.949 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/1.978, allocations: 4 kB / 1.728 GB, free: 2.945 MB / 1.326 GB Notification: Performance of matching and sorting (n=478) (initialization): time 0.01087/1.989, allocations: 6.935 MB / 1.734 GB, free: 12.13 MB / 1.342 GB Notification: Performance of prepare postOptimizeDAE: time 5.327e-05/1.989, allocations: 45.69 kB / 1.734 GB, free: 12.08 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-05/1.989, allocations: 24.12 kB / 1.734 GB, free: 12.06 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008064/1.99, allocations: 416.6 kB / 1.735 GB, free: 11.65 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00363/1.994, allocations: 0.6917 MB / 1.735 GB, free: 11 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003191/1.997, allocations: 3.251 MB / 1.739 GB, free: 7.664 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004562/2.002, allocations: 428.8 kB / 1.739 GB, free: 7.242 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003513/2.002, allocations: 184 kB / 1.739 GB, free: 7.062 MB / 1.342 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005661/2.008, allocations: 3.563 MB / 1.743 GB, free: 3.492 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004135/2.012, allocations: 3.296 MB / 1.746 GB, free: 15.82 MB / 1.357 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006725/2.018, allocations: 5.224 MB / 1.751 GB, free: 10.37 MB / 1.357 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-05/2.019, allocations: 8 kB / 1.751 GB, free: 10.36 MB / 1.357 GB Notification: Performance of matching and sorting (n=478) (initialization_lambda0): time 0.009938/2.028, allocations: 6.327 MB / 1.757 GB, free: 4.148 MB / 1.357 GB Notification: Performance of prepare postOptimizeDAE: time 3.966e-05/2.029, allocations: 44.23 kB / 1.757 GB, free: 4.102 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.912e-05/2.029, allocations: 20 kB / 1.757 GB, free: 4.082 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/2.03, allocations: 461.3 kB / 1.758 GB, free: 3.629 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002895/2.033, allocations: 0.6879 MB / 1.758 GB, free: 2.98 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007986/2.041, allocations: 6.178 MB / 1.764 GB, free: 12.62 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004532/2.045, allocations: 350.2 kB / 1.765 GB, free: 12.27 MB / 1.373 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003198/2.045, allocations: 171.3 kB / 1.765 GB, free: 12.11 MB / 1.373 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * Number of states: 0 () * Number of discrete variables: 5 (y.count,$PRE.y.count,y.T_start,$PRE.y.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (347): * Single equations (assignments): 336 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 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.0006514/2.046, allocations: 355.3 kB / 1.765 GB, free: 11.79 MB / 1.373 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001183/2.047, allocations: 0.4973 MB / 1.766 GB, free: 11.29 MB / 1.373 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005753/2.053, allocations: 2.728 MB / 1.768 GB, free: 8.547 MB / 1.373 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004101/2.057, allocations: 2.325 MB / 1.771 GB, free: 6.152 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/2.057, allocations: 0 / 1.771 GB, free: 6.152 MB / 1.373 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002153/2.059, allocations: 0.8533 MB / 1.772 GB, free: 5.273 MB / 1.373 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001061/2.06, allocations: 31.94 kB / 1.772 GB, free: 5.242 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002754/2.063, allocations: 127.6 kB / 1.772 GB, free: 5.121 MB / 1.373 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002277/2.063, allocations: 105.2 kB / 1.772 GB, free: 5.02 MB / 1.373 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00618/2.07, allocations: 2.631 MB / 1.774 GB, free: 2.398 MB / 1.373 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006863/2.076, allocations: 3.952 MB / 1.778 GB, free: 14.43 MB / 1.389 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001806/2.078, allocations: 1.017 MB / 1.779 GB, free: 13.41 MB / 1.389 GB Notification: Performance of sorting global known variables: time 0.007638/2.086, allocations: 4.473 MB / 1.784 GB, free: 8.941 MB / 1.389 GB Notification: Performance of Backend: time 5.01e-07/2.086, allocations: 4 kB / 1.784 GB, free: 8.938 MB / 1.389 GB Notification: Performance of simCode: created initialization part: time 0.0158/2.102, allocations: 7.82 MB / 1.791 GB, free: 1.371 MB / 1.389 GB Notification: Performance of SimCode: time 0.02144/2.123, allocations: 12.37 MB / 1.803 GB, free: 5.031 MB / 1.404 GB Notification: Performance of Templates: time 0.1995/2.323, allocations: 133 MB / 1.933 GB, free: 2.012 MB / 1.529 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.sim & ./Buildings_latest_Buildings.Fluid.Movers.Validation.ControlledFlowMachine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe 2>&1)