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/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.575/1.575, allocations: 289.8 MB / 297.1 MB, free: 6.652 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.001142/0.001142, allocations: 177.3 kB / 366.3 MB, free: 1.957 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.1 MB / 0.6256 GB, free: 5.805 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.0009248/0.0009247, allocations: 88.17 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.748e-06/9.768e-06, allocations: 0 / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7257/0.7257, allocations: 116.3 MB / 0.9726 GB, free: 68.58 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.71/5.436, allocations: 2.118 GB / 3.091 GB, free: 339.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/5.436, allocations: 91.66 kB / 3.091 GB, free: 339.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 15.82/21.26, allocations: 4.329 GB / 7.42 GB, free: 90.63 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.001181/21.26, allocations: 148.8 kB / 7.42 GB, free: 90.61 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: 744 * Number of variables: 744 Notification: Performance of Generate backend data structure: time 0.02695/21.29, allocations: 5.735 MB / 7.425 GB, free: 88.23 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 7.089e-05/21.29, allocations: 9.062 kB / 7.425 GB, free: 88.23 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01414/21.3, allocations: 1.543 MB / 7.427 GB, free: 87.86 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03888/21.34, allocations: 11.1 MB / 7.438 GB, free: 86.72 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002263/21.34, allocations: 95.28 kB / 7.438 GB, free: 86.72 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001628/21.34, allocations: 208.2 kB / 7.438 GB, free: 86.72 MB / 1.104 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007383/21.35, allocations: 3.498 MB / 7.441 GB, free: 86.7 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006733/21.36, allocations: 3.655 MB / 7.445 GB, free: 86.33 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.523e-05/21.36, allocations: 5.5 kB / 7.445 GB, free: 86.33 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000327/21.36, allocations: 5.781 kB / 7.445 GB, free: 86.33 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/21.36, allocations: 103.2 kB / 7.445 GB, free: 86.32 MB / 1.104 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0361/21.39, allocations: 19.86 MB / 7.464 GB, free: 78.1 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004382/21.4, allocations: 3.11 MB / 7.467 GB, free: 78.05 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00236/21.4, allocations: 1.804 MB / 7.469 GB, free: 78.02 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005882/21.4, allocations: 0.5521 MB / 7.47 GB, free: 77.45 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00224/21.4, allocations: 1.723 MB / 7.471 GB, free: 77.38 MB / 1.104 GB Notification: Performance of pre-optimization done (n=179): time 4.609e-06/21.4, allocations: 0 / 7.471 GB, free: 77.38 MB / 1.104 GB Notification: Performance of matching and sorting (n=179): time 0.009931/21.41, allocations: 3.816 MB / 7.475 GB, free: 77 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/21.41, allocations: 150.4 kB / 7.475 GB, free: 76.84 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01303/21.43, allocations: 5.846 MB / 7.481 GB, free: 76.45 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.001055/21.43, allocations: 33.98 kB / 7.481 GB, free: 76.42 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.001749/21.43, allocations: 1.44 MB / 7.482 GB, free: 75.79 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.001529/21.43, allocations: 0.5973 MB / 7.483 GB, free: 75.39 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/21.43, allocations: 3.625 kB / 7.483 GB, free: 75.39 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0001974/21.43, allocations: 421.7 kB / 7.483 GB, free: 75.08 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002209/21.43, allocations: 1.511 MB / 7.485 GB, free: 75.07 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002878/21.44, allocations: 2.739 MB / 7.488 GB, free: 73.56 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003385/21.44, allocations: 1.955 MB / 7.49 GB, free: 73.53 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.762e-05/21.44, allocations: 6.594 kB / 7.49 GB, free: 73.53 MB / 1.104 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.009273/21.45, allocations: 4.823 MB / 7.494 GB, free: 73.16 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.004258/21.45, allocations: 14.88 MB / 7.509 GB, free: 57.95 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.08e-05/21.45, allocations: 36.38 kB / 7.509 GB, free: 57.95 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/21.46, allocations: 448.3 kB / 7.509 GB, free: 57.93 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004031/21.46, allocations: 0.655 MB / 7.51 GB, free: 57.93 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004718/21.46, allocations: 4.59 MB / 7.514 GB, free: 55.13 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006548/21.47, allocations: 434.8 kB / 7.515 GB, free: 54.97 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007196/21.47, allocations: 262.5 kB / 7.515 GB, free: 54.97 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/21.47, allocations: 3.531 kB / 7.515 GB, free: 54.97 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006853/21.48, allocations: 3.769 MB / 7.519 GB, free: 54.91 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-05/21.48, allocations: 33.7 kB / 7.519 GB, free: 54.91 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/21.48, allocations: 0.5452 MB / 7.519 GB, free: 54.89 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00264/21.48, allocations: 0.6541 MB / 7.52 GB, free: 54.89 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0108/21.49, allocations: 7.17 MB / 7.527 GB, free: 51.91 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007183/21.5, allocations: 376 kB / 7.527 GB, free: 51.8 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001041/21.5, allocations: 223.4 kB / 7.527 GB, free: 51.8 MB / 1.104 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 313 * 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 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.001178/21.5, allocations: 214.6 kB / 7.528 GB, free: 51.68 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00193/21.5, allocations: 0.5072 MB / 7.528 GB, free: 51.39 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007131/21.51, allocations: 3.024 MB / 7.531 GB, free: 51.21 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.962e-05/21.51, allocations: 21.44 kB / 7.531 GB, free: 51.21 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/21.51, allocations: 3.609 kB / 7.531 GB, free: 51.21 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003628/21.52, allocations: 2.518 MB / 7.534 GB, free: 50.7 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01681/21.53, allocations: 7.642 MB / 7.541 GB, free: 50.14 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/21.53, allocations: 0 / 7.541 GB, free: 50.14 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002547/21.53, allocations: 496.3 kB / 7.542 GB, free: 50.14 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000379/21.53, allocations: 179.5 kB / 7.542 GB, free: 50.12 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001432/21.54, allocations: 33.59 kB / 7.542 GB, free: 50.12 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001926/21.54, allocations: 3.392 MB / 7.545 GB, free: 47.32 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.339e-05/21.54, allocations: 14.33 kB / 7.545 GB, free: 47.32 MB / 1.104 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007998/21.55, allocations: 4.601 MB / 7.55 GB, free: 46.34 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004021/21.55, allocations: 1.156 MB / 7.551 GB, free: 45.95 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001275/21.55, allocations: 10.72 kB / 7.551 GB, free: 45.95 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003203/21.55, allocations: 234.5 kB / 7.551 GB, free: 45.92 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002578/21.55, allocations: 120.1 kB / 7.551 GB, free: 45.92 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001848/21.55, allocations: 90.94 kB / 7.551 GB, free: 45.92 MB / 1.104 GB Notification: Performance of sort global known variables: time 0.007978/21.56, allocations: 4.358 MB / 7.555 GB, free: 45.7 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.01349/21.58, allocations: 3.141 MB / 7.558 GB, free: 45.36 MB / 1.104 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 171 * 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.01899/21.59, allocations: 11.39 MB / 7.57 GB, free: 39.5 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.01236/21.61, allocations: 5.984 MB / 7.575 GB, free: 39.07 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.495e-05/21.61, allocations: 6.312 kB / 7.575 GB, free: 39.07 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.002303/21.61, allocations: 1.189 MB / 7.577 GB, free: 39.05 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01656/21.63, allocations: 2.788 MB / 7.579 GB, free: 38.99 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0235/21.65, allocations: 8.43 MB / 7.588 GB, free: 37.18 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006099/21.66, allocations: 3.876 MB / 7.591 GB, free: 36.37 MB / 1.104 GB Notification: Performance of SimCode: time 1.232e-06/21.66, allocations: 3.562 kB / 7.591 GB, free: 36.37 MB / 1.104 GB Notification: Performance of Templates: time 1.129/22.78, allocations: 170.9 MB / 7.758 GB, free: 179.3 MB / 1.135 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.makefile (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)