Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachineDynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachineDynamic") translateModel(Buildings.Fluid.Movers.Examples.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachineDynamic") [: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 1.6.0+build.1/package.mo): time 0.487/0.487, allocations: 94.74 MB / 102 MB, free: 10.37 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001308/0.001308, allocations: 172.2 kB / 125.3 MB, free: 12 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.414/1.414, allocations: 170.5 MB / 319 MB, free: 9.418 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001829/0.001828, allocations: 104.5 kB / 381 MB, free: 18.15 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.366e-06/8.726e-06, allocations: 0 / 448.6 MB, free: 2.137 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1589, allocations: 61.52 MB / 0.4981 GB, free: 4.523 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.317/1.476, allocations: 432.6 MB / 0.9206 GB, free: 189.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/1.477, allocations: 89.7 kB / 0.9206 GB, free: 189.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 5.817/7.294, allocations: 1.506 GB / 2.427 GB, free: 45.21 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0007868/7.294, allocations: 106.5 kB / 2.427 GB, free: 45.2 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 541 * Number of variables: 541 Notification: Performance of Generate backend data structure: time 0.01335/7.308, allocations: 3.66 MB / 2.431 GB, free: 43.67 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/7.308, allocations: 10.34 kB / 2.431 GB, free: 43.67 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003584/7.312, allocations: 467.5 kB / 2.431 GB, free: 43.46 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01318/7.325, allocations: 4.127 MB / 2.435 GB, free: 42.84 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005815/7.325, allocations: 176.4 kB / 2.435 GB, free: 42.77 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001879/7.327, allocations: 176 kB / 2.436 GB, free: 42.77 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006649/7.334, allocations: 2.822 MB / 2.438 GB, free: 42.75 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007252/7.341, allocations: 2.755 MB / 2.441 GB, free: 42.34 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.863e-05/7.341, allocations: 3.375 kB / 2.441 GB, free: 42.34 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006439/7.342, allocations: 8.562 kB / 2.441 GB, free: 42.34 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.266e-05/7.342, allocations: 49.81 kB / 2.441 GB, free: 42.34 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.025/7.367, allocations: 11.87 MB / 2.453 GB, free: 37.88 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00289/7.37, allocations: 1.518 MB / 2.454 GB, free: 37.86 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002333/7.372, allocations: 1.365 MB / 2.455 GB, free: 37.84 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/7.373, allocations: 1.351 MB / 2.457 GB, free: 36.34 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002712/7.376, allocations: 1.477 MB / 2.458 GB, free: 36.24 MB / 0.573 GB Notification: Performance of pre-optimization done (n=164): time 7.464e-06/7.376, allocations: 6.375 kB / 2.458 GB, free: 36.24 MB / 0.573 GB Notification: Performance of matching and sorting (n=184): time 0.02808/7.404, allocations: 8.869 MB / 2.467 GB, free: 34.81 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001694/7.404, allocations: 0.5311 MB / 2.467 GB, free: 34.18 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005467/7.41, allocations: 2.086 MB / 2.469 GB, free: 33.93 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001714/7.412, allocations: 46.33 kB / 2.47 GB, free: 33.89 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.002679/7.414, allocations: 0.9416 MB / 2.47 GB, free: 33.43 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001463/7.416, allocations: 0.6148 MB / 2.471 GB, free: 33.02 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001134/7.417, allocations: 21.03 kB / 2.471 GB, free: 33.02 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000311/7.417, allocations: 418.8 kB / 2.471 GB, free: 32.71 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005732/7.423, allocations: 2.603 MB / 2.474 GB, free: 32.7 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006345/7.429, allocations: 3.164 MB / 2.477 GB, free: 32.11 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00941/7.439, allocations: 3.214 MB / 2.48 GB, free: 32.07 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.66e-05/7.439, allocations: 3.625 kB / 2.48 GB, free: 32.07 MB / 0.573 GB Notification: Performance of matching and sorting (n=371) (initialization): time 0.02151/7.461, allocations: 8.076 MB / 2.488 GB, free: 31.37 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001014/7.462, allocations: 3.531 MB / 2.492 GB, free: 27.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.741e-05/7.462, allocations: 16.95 kB / 2.492 GB, free: 27.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003364/7.465, allocations: 2.433 MB / 2.494 GB, free: 27.65 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003494/7.469, allocations: 0.6169 MB / 2.495 GB, free: 27.65 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009867/7.478, allocations: 11.79 MB / 2.506 GB, free: 18.93 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006855/7.485, allocations: 300.7 kB / 2.506 GB, free: 18.91 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002306/7.488, allocations: 306.2 kB / 2.507 GB, free: 18.91 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/7.488, allocations: 3.906 kB / 2.507 GB, free: 18.91 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02403/7.512, allocations: 7.713 MB / 2.514 GB, free: 18.41 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.113e-05/7.512, allocations: 18.08 kB / 2.514 GB, free: 18.41 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005886/7.518, allocations: 2.768 MB / 2.517 GB, free: 18.36 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002771/7.521, allocations: 495.4 kB / 2.517 GB, free: 18.36 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03202/7.553, allocations: 19.11 MB / 2.536 GB, free: 25.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005273/7.558, allocations: 284.8 kB / 2.536 GB, free: 25.26 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001712/7.56, allocations: 278.8 kB / 2.537 GB, free: 25.26 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count,fan1.curve,fan1.haveMinimumDecrease,fan1.haveDPMax,fan1.haveVMax,fan4.curve,fan4.haveMinimumDecrease,fan4.haveDPMax,fan4.haveVMax) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (254): * Single equations (assignments): 228 * Array equations: 4 * Algorithm blocks: 7 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.002185/7.562, allocations: 182.9 kB / 2.537 GB, free: 25.15 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001367/7.563, allocations: 303.5 kB / 2.537 GB, free: 24.98 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01034/7.574, allocations: 3.633 MB / 2.541 GB, free: 24.34 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.988e-05/7.574, allocations: 21.44 kB / 2.541 GB, free: 24.34 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.696e-05/7.574, allocations: 2.078 kB / 2.541 GB, free: 24.34 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-05/7.574, allocations: 11.3 kB / 2.541 GB, free: 24.34 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01442/7.588, allocations: 5.786 MB / 2.546 GB, free: 23.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/7.588, allocations: 5.344 kB / 2.546 GB, free: 23.48 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002716/7.591, allocations: 0.4968 MB / 2.547 GB, free: 23.48 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001131/7.592, allocations: 0.779 MB / 2.548 GB, free: 23.43 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002246/7.592, allocations: 42.25 kB / 2.548 GB, free: 23.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007427/7.6, allocations: 9.901 MB / 2.557 GB, free: 14.69 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/7.6, allocations: 0.6562 kB / 2.557 GB, free: 14.69 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009815/7.61, allocations: 4.409 MB / 2.562 GB, free: 13.86 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002473/7.612, allocations: 0.6371 MB / 2.562 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001263/7.613, allocations: 12.97 kB / 2.562 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003243/7.617, allocations: 132.6 kB / 2.562 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003598/7.617, allocations: 130.9 kB / 2.562 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003681/7.618, allocations: 90.44 kB / 2.563 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.005211/7.623, allocations: 1.496 MB / 2.564 GB, free: 13.44 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01231/7.635, allocations: 2.013 MB / 2.566 GB, free: 13.3 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 16 (fan1.vol.dynBal.medium.p,fan1.vol.dynBal.medium.T,fan1.filter.x[1],fan1.filter.x[2],fan3.vol.dynBal.medium.p,fan3.vol.dynBal.medium.T,fan3.filter.x[1],fan3.filter.x[2],fan2.vol.dynBal.medium.p,fan2.vol.dynBal.medium.T,fan2.filter.x[1],fan2.filter.x[2],fan4.vol.dynBal.medium.p,fan4.vol.dynBal.medium.T,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 (192): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.005777/7.641, allocations: 1.813 MB / 2.568 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03342/7.674, allocations: 19 MB / 2.586 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-05/7.674, allocations: 4.172 kB / 2.586 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.004466/7.679, allocations: 1.6 MB / 2.588 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008948/7.688, allocations: 1.262 MB / 2.589 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01846/7.706, allocations: 5.053 MB / 2.594 GB, free: 6.949 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004514/7.711, allocations: 2.388 MB / 2.596 GB, free: 5.086 MB / 0.6042 GB Notification: Performance of SimCode: time 1.753e-06/7.711, allocations: 0 / 2.596 GB, free: 5.086 MB / 0.6042 GB Notification: Performance of Templates: time 0.5489/8.26, allocations: 101 MB / 2.695 GB, free: 97.71 MB / 0.6042 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachineDynamic.makefile (rm -f Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachineDynamic.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachineDynamic.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachineDynamic.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachineDynamic.sim & ./Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachineDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachineDynamic.pipe 2>&1)