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.424/2.424, allocations: 284.9 MB / 292.4 MB, free: 10.6 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.001564/0.001564, allocations: 188.8 kB / 360.6 MB, free: 7.309 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.035/2.035, allocations: 205.3 MB / 0.6191 GB, free: 12.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 83.39 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.265e-05/3.272e-05, allocations: 4 kB / 0.8509 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8045/0.8046, allocations: 115.3 MB / 0.9634 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.958/6.763, allocations: 2.117 GB / 3.08 GB, free: 412 kB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/6.763, allocations: 94.86 kB / 3.08 GB, free: 368 kB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 24.84/31.6, allocations: 4.329 GB / 7.41 GB, free: 93.46 MB / 1.104 GB Notification: Performance of FrontEnd: time 3.196e-06/31.6, allocations: 0 / 7.41 GB, free: 93.46 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.002175/31.6, allocations: 164.3 kB / 7.41 GB, free: 93.43 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.03199/31.64, allocations: 6.07 MB / 7.416 GB, free: 91.17 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 6.102e-05/31.64, allocations: 9.156 kB / 7.416 GB, free: 91.17 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02041/31.66, allocations: 1.653 MB / 7.417 GB, free: 90.78 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04306/31.7, allocations: 11.16 MB / 7.428 GB, free: 89.61 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000277/31.7, allocations: 104.4 kB / 7.428 GB, free: 89.61 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001998/31.7, allocations: 236 kB / 7.429 GB, free: 89.6 MB / 1.104 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01163/31.71, allocations: 3.463 MB / 7.432 GB, free: 89.58 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01641/31.73, allocations: 3.806 MB / 7.436 GB, free: 89.14 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001764/31.73, allocations: 7.078 kB / 7.436 GB, free: 89.14 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001325/31.73, allocations: 6.938 kB / 7.436 GB, free: 89.14 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001441/31.73, allocations: 109.7 kB / 7.436 GB, free: 89.14 MB / 1.104 GB Warning: The model contains alias variables with conflicting start and/or 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.05192/31.78, allocations: 19.52 MB / 7.455 GB, free: 81.6 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009726/31.79, allocations: 3.749 MB / 7.459 GB, free: 81.16 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004136/31.8, allocations: 1.679 MB / 7.46 GB, free: 81.15 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005877/31.8, allocations: 228.4 kB / 7.46 GB, free: 80.96 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004194/31.8, allocations: 1.707 MB / 7.462 GB, free: 80.88 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004602/31.81, allocations: 273.8 kB / 7.462 GB, free: 80.78 MB / 1.104 GB Notification: Performance of pre-optimization done (n=207): time 2.068e-05/31.81, allocations: 0 / 7.462 GB, free: 80.78 MB / 1.104 GB Notification: Performance of matching and sorting (n=207): time 0.01366/31.82, allocations: 3.815 MB / 7.466 GB, free: 80.37 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001436/31.82, allocations: 339.8 kB / 7.466 GB, free: 79.99 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01952/31.84, allocations: 5.886 MB / 7.472 GB, free: 79.6 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.001209/31.84, allocations: 29.42 kB / 7.472 GB, free: 79.57 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.005131/31.85, allocations: 2.839 MB / 7.475 GB, free: 78.9 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.001669/31.85, allocations: 0.6963 MB / 7.476 GB, free: 78.43 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005084/31.85, allocations: 0.5625 kB / 7.476 GB, free: 78.43 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.000345/31.85, allocations: 431.1 kB / 7.476 GB, free: 78.12 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004135/31.85, allocations: 1.605 MB / 7.478 GB, free: 78.11 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005527/31.86, allocations: 2.879 MB / 7.48 GB, free: 76.58 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006639/31.87, allocations: 2.049 MB / 7.482 GB, free: 76.52 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-05/31.87, allocations: 8.406 kB / 7.482 GB, free: 76.52 MB / 1.104 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.01733/31.88, allocations: 5.057 MB / 7.487 GB, free: 76.08 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.003404/31.89, allocations: 14.72 MB / 7.502 GB, free: 60.75 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002164/31.89, allocations: 38.44 kB / 7.502 GB, free: 60.75 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00168/31.89, allocations: 432.6 kB / 7.502 GB, free: 60.73 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007323/31.9, allocations: 0.7264 MB / 7.503 GB, free: 60.73 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006341/31.9, allocations: 4.494 MB / 7.507 GB, free: 57.93 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009516/31.91, allocations: 286.5 kB / 7.508 GB, free: 57.9 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001464/31.91, allocations: 271.3 kB / 7.508 GB, free: 57.9 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/31.91, allocations: 2.75 kB / 7.508 GB, free: 57.9 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01305/31.93, allocations: 3.914 MB / 7.512 GB, free: 57.79 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000214/31.93, allocations: 42.3 kB / 7.512 GB, free: 57.79 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002184/31.93, allocations: 0.5294 MB / 7.512 GB, free: 57.78 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005952/31.94, allocations: 0.7128 MB / 7.513 GB, free: 57.78 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0253/31.96, allocations: 7.004 MB / 7.52 GB, free: 54.67 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01321/31.97, allocations: 271.2 kB / 7.52 GB, free: 54.65 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001553/31.98, allocations: 232.1 kB / 7.52 GB, free: 54.65 MB / 1.104 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (359): * Single equations (assignments): 341 * 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 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.001848/31.98, allocations: 218.2 kB / 7.52 GB, free: 54.52 MB / 1.104 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01032/31.99, allocations: 2.829 MB / 7.523 GB, free: 54.11 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002262/31.99, allocations: 0.5397 MB / 7.524 GB, free: 53.8 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01048/32, allocations: 3.123 MB / 7.527 GB, free: 53.62 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.529e-05/32, allocations: 23.88 kB / 7.527 GB, free: 53.62 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.118e-06/32, allocations: 7.516 kB / 7.527 GB, free: 53.61 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006581/32.01, allocations: 2.673 MB / 7.529 GB, free: 53.1 MB / 1.104 GB Warning: The model contains alias variables with conflicting start and/or 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.02655/32.03, allocations: 8.525 MB / 7.538 GB, free: 52.25 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.527e-05/32.03, allocations: 2.562 kB / 7.538 GB, free: 52.25 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005477/32.04, allocations: 0.5426 MB / 7.538 GB, free: 52.25 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006712/32.04, allocations: 174.9 kB / 7.538 GB, free: 52.23 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005972/32.04, allocations: 40.52 kB / 7.538 GB, free: 52.23 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002687/32.04, allocations: 3.358 MB / 7.542 GB, free: 49.43 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-05/32.04, allocations: 4.703 kB / 7.542 GB, free: 49.42 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0132/32.06, allocations: 4.821 MB / 7.546 GB, free: 48.43 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005609/32.06, allocations: 1.193 MB / 7.548 GB, free: 48.04 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002816/32.07, allocations: 15.89 kB / 7.548 GB, free: 48.04 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008406/32.07, allocations: 299.1 kB / 7.548 GB, free: 48.02 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009054/32.07, allocations: 142.7 kB / 7.548 GB, free: 48.01 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003964/32.08, allocations: 101.1 kB / 7.548 GB, free: 48.01 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.01236/32.09, allocations: 4.398 MB / 7.552 GB, free: 47.79 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.242e-06/32.09, allocations: 0 / 7.552 GB, free: 47.79 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.0185/32.11, allocations: 3.268 MB / 7.556 GB, free: 47.41 MB / 1.104 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) * 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.03383/32.14, allocations: 16.88 MB / 7.572 GB, free: 39.82 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.01833/32.16, allocations: 6.499 MB / 7.578 GB, free: 39.11 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.531e-05/32.16, allocations: 4.234 kB / 7.578 GB, free: 39.11 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.003982/32.16, allocations: 1.262 MB / 7.58 GB, free: 39.09 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02462/32.19, allocations: 3.046 MB / 7.583 GB, free: 39.04 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03646/32.22, allocations: 10.26 MB / 7.593 GB, free: 36.77 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008238/32.23, allocations: 3.616 MB / 7.596 GB, free: 35.93 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.02243/32.25, allocations: 2.857 MB / 7.599 GB, free: 35.88 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006254/32.26, allocations: 2.587 MB / 7.602 GB, free: 35.88 MB / 1.104 GB Notification: Performance of SimCode: time 1.403e-06/32.26, allocations: 0 / 7.602 GB, free: 35.88 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.57/33.83, allocations: 219.7 MB / 7.816 GB, free: 124.2 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002678/33.83, allocations: 185.7 kB / 7.816 GB, free: 124.1 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.64/49.47, allocations: 1.594 kB / 7.816 GB, free: 124.1 MB / 1.135 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)