Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y.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.SpeedControlled_y,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y") translateModel(Buildings.Fluid.Movers.Validation.SpeedControlled_y,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y") [: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.603/1.603, allocations: 289.8 MB / 297.1 MB, free: 6.633 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.002068/0.002068, allocations: 181.3 kB / 366.3 MB, free: 1.961 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.78/1.78, allocations: 205.2 MB / 0.6256 GB, free: 5.793 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.001007/0.001006, allocations: 97.39 kB / 0.7396 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.918e-06/9.938e-06, allocations: 0 / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8297/0.8297, allocations: 116.3 MB / 0.9726 GB, free: 68.41 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.718/5.548, allocations: 2.113 GB / 3.086 GB, free: 343.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/5.548, allocations: 86.92 kB / 3.086 GB, free: 343.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.177/10.73, allocations: 1.534 GB / 4.62 GB, free: 140.5 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0002784/10.73, allocations: 70.39 kB / 4.62 GB, free: 140.5 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.008471/10.73, allocations: 2.574 MB / 4.622 GB, free: 139.4 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/10.73, allocations: 7.406 kB / 4.622 GB, free: 139.4 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00706/10.74, allocations: 0.8972 MB / 4.623 GB, free: 139.3 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007877/10.75, allocations: 3.079 MB / 4.626 GB, free: 138.9 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.936e-05/10.75, allocations: 45.03 kB / 4.626 GB, free: 138.9 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000251/10.75, allocations: 92.12 kB / 4.626 GB, free: 138.9 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002461/10.75, allocations: 1.344 MB / 4.627 GB, free: 138.9 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002276/10.75, allocations: 1.498 MB / 4.629 GB, free: 138.7 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.485e-05/10.75, allocations: 0 / 4.629 GB, free: 138.7 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/10.75, allocations: 3.719 kB / 4.629 GB, free: 138.7 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.663e-05/10.75, allocations: 52.39 kB / 4.629 GB, free: 138.7 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01159/10.77, allocations: 7.833 MB / 4.637 GB, free: 134.9 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/10.77, allocations: 0.9848 MB / 4.638 GB, free: 134.8 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009172/10.77, allocations: 0.6028 MB / 4.638 GB, free: 134.8 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003465/10.77, allocations: 281.1 kB / 4.638 GB, free: 134.5 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/10.77, allocations: 42.91 kB / 4.638 GB, free: 134.5 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=85): time 3.076e-06/10.77, allocations: 0 / 4.638 GB, free: 134.5 MB / 0.9948 GB Notification: Performance of matching and sorting (n=85): time 0.004417/10.77, allocations: 1.406 MB / 4.64 GB, free: 134.3 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/10.77, allocations: 65.34 kB / 4.64 GB, free: 134.3 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001837/10.78, allocations: 1.359 MB / 4.641 GB, free: 134.1 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/10.78, allocations: 30.14 kB / 4.641 GB, free: 134 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000403/10.78, allocations: 0.6232 MB / 4.642 GB, free: 133.7 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000308/10.78, allocations: 289.1 kB / 4.642 GB, free: 133.5 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-05/10.78, allocations: 0 / 4.642 GB, free: 133.5 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001146/10.78, allocations: 350.4 kB / 4.642 GB, free: 133.2 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006068/10.78, allocations: 426.3 kB / 4.643 GB, free: 133.2 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008584/10.78, allocations: 0.8442 MB / 4.644 GB, free: 132.7 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/10.78, allocations: 0.5913 MB / 4.644 GB, free: 132.7 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/10.78, allocations: 3.719 kB / 4.644 GB, free: 132.7 MB / 0.9948 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003425/10.78, allocations: 1.645 MB / 4.646 GB, free: 132.5 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000821/10.78, allocations: 3.849 MB / 4.65 GB, free: 128.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/10.78, allocations: 13.62 kB / 4.65 GB, free: 128.5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009286/10.78, allocations: 301.4 kB / 4.65 GB, free: 128.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/10.79, allocations: 260.1 kB / 4.65 GB, free: 128.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003296/10.79, allocations: 3.628 MB / 4.654 GB, free: 125.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00188/10.79, allocations: 177 kB / 4.654 GB, free: 125.6 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/10.79, allocations: 81.52 kB / 4.654 GB, free: 125.6 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/10.79, allocations: 7.375 kB / 4.654 GB, free: 125.6 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003224/10.79, allocations: 1.33 MB / 4.655 GB, free: 125.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/10.79, allocations: 10.25 kB / 4.655 GB, free: 125.5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/10.8, allocations: 320.2 kB / 4.656 GB, free: 125.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008647/10.8, allocations: 228.2 kB / 4.656 GB, free: 125.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006049/10.8, allocations: 4.935 MB / 4.661 GB, free: 122.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/10.8, allocations: 148.6 kB / 4.661 GB, free: 122.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/10.8, allocations: 68.81 kB / 4.661 GB, free: 122.1 MB / 0.9948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 112 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 8,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004551/10.8, allocations: 140.8 kB / 4.661 GB, free: 122 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002989/10.81, allocations: 197.5 kB / 4.661 GB, free: 121.9 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003604/10.81, allocations: 1.406 MB / 4.663 GB, free: 121.8 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/10.81, allocations: 6.156 kB / 4.663 GB, free: 121.8 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/10.81, allocations: 6.734 kB / 4.663 GB, free: 121.8 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002432/10.81, allocations: 1.168 MB / 4.664 GB, free: 121.6 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005779/10.82, allocations: 2.916 MB / 4.667 GB, free: 121.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/10.82, allocations: 0 / 4.667 GB, free: 121.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009681/10.82, allocations: 193.7 kB / 4.667 GB, free: 121.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005838/10.82, allocations: 223.7 kB / 4.667 GB, free: 121 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.689e-05/10.82, allocations: 17.09 kB / 4.667 GB, free: 121 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002634/10.82, allocations: 3.479 MB / 4.67 GB, free: 118.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/10.82, allocations: 6.156 kB / 4.67 GB, free: 118.2 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003586/10.82, allocations: 1.982 MB / 4.672 GB, free: 117.8 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000872/10.83, allocations: 376.5 kB / 4.673 GB, free: 117.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002431/10.83, allocations: 5.141 kB / 4.673 GB, free: 117.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/10.83, allocations: 106.1 kB / 4.673 GB, free: 117.6 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/10.83, allocations: 55.98 kB / 4.673 GB, free: 117.6 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-05/10.83, allocations: 43.31 kB / 4.673 GB, free: 117.6 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.001467/10.83, allocations: 1.023 MB / 4.674 GB, free: 117.4 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.004659/10.83, allocations: 1.436 MB / 4.675 GB, free: 117.2 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 6,1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.006187/10.84, allocations: 4.676 MB / 4.68 GB, free: 115.4 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.00384/10.84, allocations: 2.089 MB / 4.682 GB, free: 115.1 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/10.84, allocations: 0 / 4.682 GB, free: 115.1 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009306/10.84, allocations: 0.5948 MB / 4.682 GB, free: 115 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004084/10.85, allocations: 0.8704 MB / 4.683 GB, free: 115 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005694/10.85, allocations: 2.89 MB / 4.686 GB, free: 114.2 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001492/10.86, allocations: 1.814 MB / 4.688 GB, free: 113.5 MB / 0.9948 GB Notification: Performance of SimCode: time 1.984e-06/10.86, allocations: 0 / 4.688 GB, free: 113.5 MB / 0.9948 GB Notification: Performance of Templates: time 0.1128/10.97, allocations: 65.33 MB / 4.752 GB, free: 109.2 MB / 0.9948 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y.sim & ./Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe 2>&1)