Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.ControlledFlowMachine,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.ControlledFlowMachine,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.724/2.724, allocations: 287.5 MB / 302.4 MB, free: 8.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001437/0.001437, allocations: 188.2 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.305/2.305, allocations: 205.4 MB / 0.6297 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000991/0.0009904, allocations: 91.92 kB / 0.743 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000531/0.0005311, allocations: 13.16 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2576, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.ControlledFlowMachine): time 1.294/1.551, allocations: 341.6 MB / 1.312 GB, free: 6.168 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1045/1.656, allocations: 47.34 MB / 1.358 GB, free: 6.73 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008577/1.665, allocations: 158.9 kB / 1.358 GB, free: 6.574 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.01084/1.675, allocations: 1.98 MB / 1.36 GB, free: 4.582 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.02986/1.705, allocations: 6.566 MB / 1.367 GB, free: 13.99 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.01981/1.725, allocations: 4.178 MB / 1.371 GB, free: 9.844 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.02961/1.755, allocations: 14.97 MB / 1.385 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009735/1.765, allocations: 3.358 MB / 1.389 GB, free: 7.426 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02093/1.786, allocations: 5.809 MB / 1.394 GB, free: 1.594 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01163/1.797, allocations: 4.091 MB / 1.398 GB, free: 13.49 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.002457/1.8, allocations: 244 kB / 1.399 GB, free: 13.25 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01818/1.818, allocations: 3.668 MB / 1.402 GB, free: 9.574 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.005559/1.824, allocations: 2.294 MB / 1.404 GB, free: 7.273 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.004417/1.828, allocations: 1.358 MB / 1.406 GB, free: 5.906 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.01964/1.848, allocations: 8.861 MB / 1.414 GB, free: 13.02 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.062e-05/1.848, allocations: 4 kB / 1.414 GB, free: 13.02 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.516e-06/1.848, allocations: 0 / 1.414 GB, free: 13.02 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003398/1.848, allocations: 0 / 1.414 GB, free: 13.02 MB / 0.948 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.02528/1.874, allocations: 7.04 MB / 1.421 GB, free: 5.879 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/1.874, allocations: 12.03 kB / 1.421 GB, free: 5.867 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001729/1.875, allocations: 401 kB / 1.422 GB, free: 5.465 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01386/1.889, allocations: 1.455 MB / 1.423 GB, free: 4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7018/2.591, allocations: 8.289 MB / 1.431 GB, free: 346.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007417/2.592, allocations: 254.5 kB / 1.431 GB, free: 346 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002672/2.595, allocations: 344.3 kB / 1.432 GB, free: 345.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01701/2.612, allocations: 4.127 MB / 1.436 GB, free: 344.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001112/2.612, allocations: 9.312 kB / 1.436 GB, free: 344.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005424/2.612, allocations: 124.8 kB / 1.436 GB, free: 344.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000195/2.613, allocations: 110.4 kB / 1.436 GB, free: 344.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01208/2.625, allocations: 2.994 MB / 1.439 GB, free: 343 MB / 0.948 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.04502/2.67, allocations: 18.71 MB / 1.457 GB, free: 330.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008215/2.678, allocations: 2.345 MB / 1.46 GB, free: 329.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003787/2.682, allocations: 1.263 MB / 1.461 GB, free: 329.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005502/2.682, allocations: 233.7 kB / 1.461 GB, free: 329.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004822/2.687, allocations: 1.798 MB / 1.463 GB, free: 328.6 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004112/2.691, allocations: 374.4 kB / 1.463 GB, free: 328.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=176): time 1.027e-05/2.691, allocations: 0 / 1.463 GB, free: 328.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=176): time 0.01533/2.707, allocations: 3.984 MB / 1.467 GB, free: 326.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.348e-05/2.707, allocations: 154.7 kB / 1.467 GB, free: 326.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02119/2.728, allocations: 8.718 MB / 1.476 GB, free: 322.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009991/2.729, allocations: 84.53 kB / 1.476 GB, free: 322.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004004/2.733, allocations: 2.642 MB / 1.478 GB, free: 320.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001359/2.735, allocations: 0.6149 MB / 1.479 GB, free: 319.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003313/2.735, allocations: 51.78 kB / 1.479 GB, free: 319.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000249/2.735, allocations: 422.4 kB / 1.479 GB, free: 319.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004071/2.739, allocations: 1.374 MB / 1.481 GB, free: 318.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005286/2.745, allocations: 2.591 MB / 1.483 GB, free: 316.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004914/2.75, allocations: 1.717 MB / 1.485 GB, free: 315.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-05/2.75, allocations: 7.875 kB / 1.485 GB, free: 315.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.0131/2.763, allocations: 4.486 MB / 1.489 GB, free: 313.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006135/2.763, allocations: 1.034 MB / 1.49 GB, free: 311.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.934e-05/2.764, allocations: 31.55 kB / 1.49 GB, free: 311.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001518/2.765, allocations: 302 kB / 1.491 GB, free: 311.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006204/2.771, allocations: 0.6348 MB / 1.491 GB, free: 311.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004565/2.776, allocations: 3.769 MB / 1.495 GB, free: 308.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008348/2.784, allocations: 320.2 kB / 1.495 GB, free: 308.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001084/2.785, allocations: 217.8 kB / 1.495 GB, free: 308.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/2.785, allocations: 4.125 kB / 1.495 GB, free: 308.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01324/2.799, allocations: 4.864 MB / 1.5 GB, free: 304.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001084/2.799, allocations: 33.09 kB / 1.5 GB, free: 304.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002653/2.802, allocations: 0.6883 MB / 1.501 GB, free: 304 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004924/2.807, allocations: 0.6171 MB / 1.502 GB, free: 303.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01728/2.824, allocations: 8.758 MB / 1.51 GB, free: 294.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007955/2.832, allocations: 322.2 kB / 1.51 GB, free: 294.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009629/2.833, allocations: 200 kB / 1.511 GB, free: 293.9 MB / 0.948 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.004768/2.838, allocations: 1.532 MB / 1.512 GB, free: 292.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001963/2.84, allocations: 0.5244 MB / 1.513 GB, free: 291.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009599/2.849, allocations: 3.091 MB / 1.516 GB, free: 288.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-05/2.849, allocations: 16 kB / 1.516 GB, free: 288.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/2.849, allocations: 0 / 1.516 GB, free: 288.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00658/2.856, allocations: 2.687 MB / 1.518 GB, free: 286 MB / 0.948 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.02363/2.88, allocations: 7.556 MB / 1.526 GB, free: 278.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/2.88, allocations: 0 / 1.526 GB, free: 278.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004586/2.884, allocations: 491.6 kB / 1.526 GB, free: 277.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001143/2.885, allocations: 300.4 kB / 1.526 GB, free: 277.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005472/2.886, allocations: 55.97 kB / 1.526 GB, free: 277.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002965/2.889, allocations: 3.515 MB / 1.53 GB, free: 273.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/2.889, allocations: 12.03 kB / 1.53 GB, free: 273.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01209/2.901, allocations: 4.489 MB / 1.534 GB, free: 269.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00363/2.905, allocations: 0.8806 MB / 1.535 GB, free: 268.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001911/2.907, allocations: 40 kB / 1.535 GB, free: 268.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006398/2.913, allocations: 309.2 kB / 1.535 GB, free: 268 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005521/2.914, allocations: 121.7 kB / 1.536 GB, free: 267.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002649/2.914, allocations: 79.97 kB / 1.536 GB, free: 267.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01224/2.926, allocations: 6.283 MB / 1.542 GB, free: 261.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.92e-07/2.927, allocations: 4 kB / 1.542 GB, free: 261.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01313/2.94, allocations: 2.592 MB / 1.544 GB, free: 259 MB / 0.948 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.01318/2.953, allocations: 5.543 MB / 1.55 GB, free: 253.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01781/2.971, allocations: 6.061 MB / 1.556 GB, free: 247.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/2.971, allocations: 4.438 kB / 1.556 GB, free: 247.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003748/2.975, allocations: 1.283 MB / 1.557 GB, free: 246.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0234/2.998, allocations: 3.191 MB / 1.56 GB, free: 242.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1436/3.142, allocations: 53.87 MB / 1.613 GB, free: 185.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005813/3.147, allocations: 3.319 MB / 1.616 GB, free: 182.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01482/3.162, allocations: 1.43 MB / 1.617 GB, free: 180.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008242/3.171, allocations: 2.503 MB / 1.62 GB, free: 178.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.412e-06/3.171, allocations: 0 / 1.62 GB, free: 178.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3839/3.555, allocations: 174.8 MB / 1.79 GB, free: 4.438 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002741/3.555, allocations: 264.8 kB / 1.791 GB, free: 4.078 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/15.37, allocations: 0.625 kB / 1.791 GB, free: 4.078 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine.fmu > Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe 2>&1)