Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineSeries_y.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.FlowMachineSeries_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineSeries_y") translateModel(Buildings.Fluid.Movers.Examples.FlowMachineSeries_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineSeries_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 1.6.0+build.1/package.mo): time 0.4972/0.4972, allocations: 94.73 MB / 102 MB, free: 14.79 MB / 94.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00109/0.001089, allocations: 186 kB / 125.3 MB, free: 15.98 MB / 110.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.366/1.366, allocations: 170.5 MB / 319 MB, free: 13.6 MB / 254.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001551/0.001551, allocations: 105.5 kB / 381 MB, free: 19.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 1.476e-05/1.48e-05, allocations: 4.219 kB / 448.6 MB, free: 6.145 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1507, allocations: 61.51 MB / 0.4981 GB, free: 8.527 MB / 398.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.247/1.398, allocations: 436.5 MB / 0.9244 GB, free: 167.9 MB / 0.5137 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004625/1.398, allocations: 89.62 kB / 0.9245 GB, free: 167.9 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.083/2.481, allocations: 372 MB / 1.288 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0002693/2.482, allocations: 47.92 kB / 1.288 GB, free: 3.207 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.006112/2.488, allocations: 1.894 MB / 1.29 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/2.488, allocations: 8.781 kB / 1.29 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001702/2.49, allocations: 209.8 kB / 1.29 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.288/2.778, allocations: 1.656 MB / 1.292 GB, free: 128 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002025/2.778, allocations: 120.3 kB / 1.292 GB, free: 128 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000365/2.778, allocations: 65.97 kB / 1.292 GB, free: 128 MB / 0.5137 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002488/2.781, allocations: 1.581 MB / 1.293 GB, free: 128 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/2.783, allocations: 1.398 MB / 1.295 GB, free: 127.8 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/2.783, allocations: 3.375 kB / 1.295 GB, free: 127.8 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/2.783, allocations: 3.969 kB / 1.295 GB, free: 127.8 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.364e-05/2.783, allocations: 22.25 kB / 1.295 GB, free: 127.8 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007867/2.791, allocations: 5.573 MB / 1.3 GB, free: 125.3 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002007/2.793, allocations: 1.458 MB / 1.301 GB, free: 125.2 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008388/2.794, allocations: 0.6842 MB / 1.302 GB, free: 125.2 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004111/2.798, allocations: 3.111 MB / 1.305 GB, free: 123.3 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/2.798, allocations: 41.66 kB / 1.305 GB, free: 123.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=54): time 4.138e-06/2.798, allocations: 0 / 1.305 GB, free: 123.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=54): time 0.004317/2.802, allocations: 2.092 MB / 1.307 GB, free: 123.2 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/2.802, allocations: 268.6 kB / 1.308 GB, free: 122.9 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/2.804, allocations: 1.021 MB / 1.309 GB, free: 122.7 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001427/2.804, allocations: 32.45 kB / 1.309 GB, free: 122.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003348/2.804, allocations: 462.2 kB / 1.309 GB, free: 122.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/2.805, allocations: 187.7 kB / 1.309 GB, free: 122.4 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/2.805, allocations: 8.281 kB / 1.309 GB, free: 122.4 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001321/2.805, allocations: 361.5 kB / 1.31 GB, free: 122.1 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001578/2.806, allocations: 1.153 MB / 1.311 GB, free: 122.1 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001669/2.808, allocations: 1.395 MB / 1.312 GB, free: 121.8 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002936/2.811, allocations: 1.315 MB / 1.313 GB, free: 121.8 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/2.811, allocations: 3.719 kB / 1.313 GB, free: 121.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.006326/2.817, allocations: 3.621 MB / 1.317 GB, free: 121.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005242/2.818, allocations: 1.826 MB / 1.319 GB, free: 119.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.534e-05/2.818, allocations: 14.05 kB / 1.319 GB, free: 119.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002515/2.821, allocations: 1.874 MB / 1.32 GB, free: 119.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006922/2.821, allocations: 166.7 kB / 1.321 GB, free: 119.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003626/2.825, allocations: 2.724 MB / 1.323 GB, free: 119.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002163/2.827, allocations: 231 kB / 1.324 GB, free: 119.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004936/2.828, allocations: 150.2 kB / 1.324 GB, free: 119.2 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/2.828, allocations: 6.562 kB / 1.324 GB, free: 119.2 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00851/2.836, allocations: 3.481 MB / 1.327 GB, free: 119.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.463e-05/2.836, allocations: 10.12 kB / 1.327 GB, free: 119.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005145/2.841, allocations: 2.151 MB / 1.329 GB, free: 119.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007461/2.842, allocations: 164.3 kB / 1.329 GB, free: 119.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02562/2.868, allocations: 11.48 MB / 1.341 GB, free: 116.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002335/2.87, allocations: 194.8 kB / 1.341 GB, free: 116.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006964/2.871, allocations: 127.5 kB / 1.341 GB, free: 116.1 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 8 (floMac1.curve,floMac1.haveMinimumDecrease,floMac1.haveDPMax,floMac1.haveVMax,floMac2.curve,floMac2.haveMinimumDecrease,floMac2.haveDPMax,floMac2.haveVMax) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 81 * Array equations: 2 * Algorithm blocks: 4 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0009463/2.872, allocations: 137 kB / 1.341 GB, free: 116 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006491/2.873, allocations: 129.8 kB / 1.341 GB, free: 116 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004271/2.877, allocations: 1.407 MB / 1.342 GB, free: 115.8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/2.877, allocations: 7.406 kB / 1.342 GB, free: 115.8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/2.877, allocations: 3.906 kB / 1.342 GB, free: 115.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/2.877, allocations: 3.891 kB / 1.342 GB, free: 115.8 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002411/2.879, allocations: 0.8656 MB / 1.343 GB, free: 115.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/2.879, allocations: 0 / 1.343 GB, free: 115.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005581/2.88, allocations: 109.7 kB / 1.343 GB, free: 115.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008269/2.881, allocations: 0.5336 MB / 1.344 GB, free: 115.6 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.47e-05/2.881, allocations: 22.22 kB / 1.344 GB, free: 115.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001331/2.882, allocations: 1.149 MB / 1.345 GB, free: 115.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/2.882, allocations: 3.406 kB / 1.345 GB, free: 115.1 MB / 0.5137 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004037/2.886, allocations: 1.849 MB / 1.347 GB, free: 114.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/2.887, allocations: 319.3 kB / 1.347 GB, free: 114.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005137/2.888, allocations: 6.75 kB / 1.347 GB, free: 114.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/2.889, allocations: 39.3 kB / 1.347 GB, free: 114.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/2.889, allocations: 45.36 kB / 1.347 GB, free: 114.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/2.889, allocations: 43.19 kB / 1.347 GB, free: 114.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 0.002088/2.891, allocations: 0.7204 MB / 1.348 GB, free: 114.6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00677/2.898, allocations: 1.022 MB / 1.349 GB, free: 114.5 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (floMac1.filter.x[1],floMac1.filter.x[2],floMac2.filter.x[1],floMac2.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002774/2.901, allocations: 0.8534 MB / 1.35 GB, free: 114.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008462/2.909, allocations: 5.105 MB / 1.355 GB, free: 113.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/2.909, allocations: 0 / 1.355 GB, free: 113.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006679/2.91, allocations: 368.4 kB / 1.355 GB, free: 113.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003218/2.913, allocations: 497.9 kB / 1.356 GB, free: 113.9 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005481/2.919, allocations: 1.729 MB / 1.357 GB, free: 113.4 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001554/2.92, allocations: 1.347 MB / 1.359 GB, free: 112.7 MB / 0.5137 GB Notification: Performance of SimCode: time 1.292e-06/2.92, allocations: 0 / 1.359 GB, free: 112.7 MB / 0.5137 GB Notification: Performance of Templates: time 0.09253/3.013, allocations: 45.63 MB / 1.403 GB, free: 110.1 MB / 0.5137 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineSeries_y.makefile (rm -f Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineSeries_y.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineSeries_y.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineSeries_y.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineSeries_y.sim & ./Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineSeries_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineSeries_y.pipe 2>&1)