Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.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.ControlledFlowMachineDynamic,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachineDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachineDynamic",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.886/2.886, allocations: 287.3 MB / 302.3 MB, free: 8.27 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.001556/0.001556, allocations: 181.9 kB / 370.8 MB, free: 10.86 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.179/2.179, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001185/0.001185, allocations: 100 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005002/0.0005001, allocations: 16.19 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2232, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.806/7.029, allocations: 2.118 GB / 3.096 GB, free: 164.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/7.03, allocations: 102.6 kB / 3.096 GB, free: 164.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 24.47/31.5, allocations: 4.383 GB / 7.479 GB, free: 59.28 MB / 1.104 GB Notification: Performance of FrontEnd: time 2.665e-06/31.5, allocations: 0 / 7.479 GB, free: 59.28 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.001513/31.5, allocations: 163.8 kB / 7.479 GB, free: 59.12 MB / 1.104 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.0537/31.55, allocations: 10.96 MB / 7.49 GB, free: 48.05 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/31.55, allocations: 12.02 kB / 7.49 GB, free: 48.04 MB / 1.104 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002421/31.55, allocations: 454.8 kB / 7.49 GB, free: 47.59 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01885/31.57, allocations: 1.65 MB / 7.492 GB, free: 45.93 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04147/31.61, allocations: 11.25 MB / 7.503 GB, free: 34.6 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005411/31.62, allocations: 274.4 kB / 7.503 GB, free: 34.33 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002294/31.62, allocations: 388 kB / 7.503 GB, free: 33.95 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01806/31.64, allocations: 4.387 MB / 7.507 GB, free: 29.41 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002407/31.64, allocations: 3.938 kB / 7.507 GB, free: 29.41 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001615/31.64, allocations: 140 kB / 7.508 GB, free: 29.27 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001238/31.64, allocations: 110.3 kB / 7.508 GB, free: 29.16 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01328/31.65, allocations: 3.245 MB / 7.511 GB, free: 25.91 MB / 1.104 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.05054/31.7, allocations: 20.17 MB / 7.531 GB, free: 4.605 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01088/31.71, allocations: 3.149 MB / 7.534 GB, free: 1.418 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006787/31.71, allocations: 228.1 kB / 7.534 GB, free: 1.16 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006555/31.72, allocations: 1.842 MB / 7.536 GB, free: 15.3 MB / 1.12 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00539/31.73, allocations: 361.3 kB / 7.536 GB, free: 14.95 MB / 1.12 GB Notification: Performance of pre-optimization done (n=207): time 1.17e-05/31.73, allocations: 3.938 kB / 7.536 GB, free: 14.95 MB / 1.12 GB Notification: Performance of matching and sorting (n=207): time 0.0216/31.75, allocations: 4.316 MB / 7.54 GB, free: 10.57 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003058/31.75, allocations: 334.4 kB / 7.541 GB, free: 10.17 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02275/31.77, allocations: 6.445 MB / 7.547 GB, free: 3.746 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.001194/31.77, allocations: 97.61 kB / 7.547 GB, free: 3.648 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.005769/31.78, allocations: 2.836 MB / 7.55 GB, free: 0.7891 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.001981/31.78, allocations: 0.7239 MB / 7.55 GB, free: 56 kB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006707/31.78, allocations: 56 kB / 7.55 GB, free: 0 / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0005892/32.79, allocations: 434.8 kB / 7.551 GB, free: 94.82 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005753/32.8, allocations: 1.344 MB / 7.552 GB, free: 94.81 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007072/32.8, allocations: 2.644 MB / 7.555 GB, free: 93.28 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006732/32.81, allocations: 1.713 MB / 7.556 GB, free: 93.2 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-05/32.81, allocations: 10.47 kB / 7.556 GB, free: 93.2 MB / 1.12 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.02/32.83, allocations: 4.523 MB / 7.561 GB, free: 93.04 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.003557/32.83, allocations: 14.85 MB / 7.575 GB, free: 77.19 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002319/32.83, allocations: 40.41 kB / 7.575 GB, free: 77.19 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001373/32.83, allocations: 240.8 kB / 7.576 GB, free: 77.18 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007694/32.84, allocations: 0.7347 MB / 7.576 GB, free: 77.18 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004685/32.85, allocations: 3.44 MB / 7.58 GB, free: 74.39 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009685/32.86, allocations: 348.7 kB / 7.58 GB, free: 74.39 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00166/32.86, allocations: 271.4 kB / 7.58 GB, free: 74.39 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/32.86, allocations: 5.781 kB / 7.58 GB, free: 74.39 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01718/32.88, allocations: 4.328 MB / 7.585 GB, free: 74.26 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002335/32.88, allocations: 37.08 kB / 7.585 GB, free: 74.26 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002427/32.88, allocations: 0.5453 MB / 7.585 GB, free: 74.25 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006054/32.88, allocations: 0.7137 MB / 7.586 GB, free: 74.25 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01682/32.9, allocations: 7.407 MB / 7.593 GB, free: 71.16 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008616/32.91, allocations: 337.9 kB / 7.593 GB, free: 71.16 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001321/32.91, allocations: 236.3 kB / 7.594 GB, free: 71.16 MB / 1.12 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 (361): * Single equations (assignments): 343 * 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 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.006008/32.92, allocations: 1.604 MB / 7.595 GB, free: 70.96 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002014/32.92, allocations: 0.5564 MB / 7.596 GB, free: 70.86 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01316/32.93, allocations: 3.385 MB / 7.599 GB, free: 70.68 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.563e-05/32.93, allocations: 25.17 kB / 7.599 GB, free: 70.68 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/32.93, allocations: 0 / 7.599 GB, free: 70.68 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009808/32.94, allocations: 2.863 MB / 7.602 GB, free: 70.16 MB / 1.12 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.03285/32.98, allocations: 9.046 MB / 7.611 GB, free: 69.3 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.968e-05/32.98, allocations: 5.156 kB / 7.611 GB, free: 69.3 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005745/32.98, allocations: 0.5423 MB / 7.611 GB, free: 69.3 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001142/32.98, allocations: 239.7 kB / 7.611 GB, free: 69.27 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006639/32.98, allocations: 76.17 kB / 7.612 GB, free: 69.27 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002635/32.99, allocations: 3.291 MB / 7.615 GB, free: 66.47 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/32.99, allocations: 6.094 kB / 7.615 GB, free: 66.47 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01686/33, allocations: 5.144 MB / 7.62 GB, free: 65.47 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005057/33.01, allocations: 1.217 MB / 7.621 GB, free: 65.07 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002229/33.01, allocations: 48.09 kB / 7.621 GB, free: 65.07 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00773/33.02, allocations: 332.9 kB / 7.621 GB, free: 65.06 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008276/33.02, allocations: 136.5 kB / 7.621 GB, free: 65.05 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003805/33.02, allocations: 111.8 kB / 7.622 GB, free: 65.05 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.01498/33.03, allocations: 4.915 MB / 7.626 GB, free: 64.84 MB / 1.12 GB Notification: Performance of sort global known variables: time 8.82e-07/33.03, allocations: 1.625 kB / 7.626 GB, free: 64.84 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.01928/33.05, allocations: 3.603 MB / 7.63 GB, free: 64.7 MB / 1.12 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.03683/33.09, allocations: 16.86 MB / 7.646 GB, free: 57.12 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.01994/33.11, allocations: 6.108 MB / 7.652 GB, free: 56.45 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-05/33.11, allocations: 4.828 kB / 7.652 GB, free: 56.45 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.005332/33.12, allocations: 1.383 MB / 7.654 GB, free: 56.44 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02536/33.14, allocations: 3.26 MB / 7.657 GB, free: 56.36 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0494/33.19, allocations: 36.16 MB / 7.692 GB, free: 45.29 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009108/33.2, allocations: 3.61 MB / 7.696 GB, free: 44.46 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.01561/33.22, allocations: 1.668 MB / 7.697 GB, free: 44.4 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008446/33.22, allocations: 2.735 MB / 7.7 GB, free: 44.39 MB / 1.135 GB Notification: Performance of SimCode: time 2.034e-06/33.22, allocations: 0 / 7.7 GB, free: 44.39 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6215/33.85, allocations: 280 MB / 7.973 GB, free: 13.39 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004094/33.85, allocations: 279 kB / 7.974 GB, free: 13.02 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.55/50.4, allocations: 0 / 7.974 GB, free: 13.02 MB / 1.198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachineDynamic_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachineDynamic.fmu > Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe 2>&1)