Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineParallel_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.FlowMachineParallel_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineParallel_y") translateModel(Buildings.Fluid.Movers.Examples.FlowMachineParallel_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineParallel_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.5051/0.5051, allocations: 94.74 MB / 102 MB, free: 10.38 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.001181/0.001181, allocations: 178.3 kB / 125.3 MB, free: 12.01 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.367/1.367, allocations: 170.5 MB / 319 MB, free: 9.426 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.001642/0.001642, allocations: 107.2 kB / 381 MB, free: 18.14 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.983e-06/7.013e-06, allocations: 0 / 448.6 MB, free: 2.145 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1529, allocations: 61.52 MB / 0.4981 GB, free: 4.523 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.263/1.416, allocations: 438.3 MB / 0.9261 GB, free: 179.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/1.416, allocations: 86.11 kB / 0.9262 GB, free: 179.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.833/3.249, allocations: 0.5516 GB / 1.478 GB, free: 45.98 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0005119/3.25, allocations: 66.61 kB / 1.478 GB, free: 45.92 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.009849/3.26, allocations: 2.331 MB / 1.48 GB, free: 43.54 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/3.26, allocations: 16.78 kB / 1.48 GB, free: 43.52 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00224/3.262, allocations: 273 kB / 1.48 GB, free: 43.25 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00849/3.27, allocations: 2.508 MB / 1.483 GB, free: 40.75 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004147/3.271, allocations: 125.5 kB / 1.483 GB, free: 40.62 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008858/3.272, allocations: 80 kB / 1.483 GB, free: 40.54 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003996/3.276, allocations: 1.839 MB / 1.485 GB, free: 38.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003501/3.279, allocations: 1.658 MB / 1.486 GB, free: 36.94 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.236e-05/3.279, allocations: 0 / 1.486 GB, free: 36.94 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002593/3.28, allocations: 4 kB / 1.486 GB, free: 36.93 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.538e-05/3.28, allocations: 24 kB / 1.486 GB, free: 36.91 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01251/3.292, allocations: 6.783 MB / 1.493 GB, free: 29.88 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00278/3.295, allocations: 1.769 MB / 1.495 GB, free: 28.11 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00131/3.296, allocations: 0.9409 MB / 1.496 GB, free: 27.17 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005907/3.302, allocations: 3.023 MB / 1.499 GB, free: 23.95 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/3.302, allocations: 43.34 kB / 1.499 GB, free: 23.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=87): time 3.997e-06/3.302, allocations: 0 / 1.499 GB, free: 23.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=117): time 0.05848/3.361, allocations: 20.83 MB / 1.519 GB, free: 2.785 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.83e-05/3.361, allocations: 248.3 kB / 1.519 GB, free: 2.488 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003083/3.364, allocations: 1.276 MB / 1.521 GB, free: 1.219 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0009473/3.365, allocations: 37.7 kB / 1.521 GB, free: 1.176 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001008/3.366, allocations: 0.5338 MB / 1.521 GB, free: 0.6289 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009052/3.367, allocations: 394 kB / 1.521 GB, free: 244 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006857/3.368, allocations: 8 kB / 1.522 GB, free: 236 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.3126/3.68, allocations: 381.8 kB / 1.522 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004751/3.685, allocations: 2.522 MB / 1.524 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004144/3.689, allocations: 2.846 MB / 1.527 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006766/3.696, allocations: 2.922 MB / 1.53 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/3.696, allocations: 3.312 kB / 1.53 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.02466/3.721, allocations: 9.489 MB / 1.539 GB, free: 110 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005334/3.721, allocations: 1.893 MB / 1.541 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.518e-05/3.722, allocations: 10.25 kB / 1.541 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009069/3.731, allocations: 6.537 MB / 1.547 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/3.732, allocations: 229.3 kB / 1.548 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01398/3.746, allocations: 9.055 MB / 1.557 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004192/3.75, allocations: 211.9 kB / 1.557 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001286/3.752, allocations: 391.5 kB / 1.557 GB, free: 107 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/3.752, allocations: 7.469 kB / 1.557 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04057/3.792, allocations: 10.57 MB / 1.567 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.197e-05/3.792, allocations: 10.48 kB / 1.567 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01458/3.807, allocations: 7.034 MB / 1.574 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/3.808, allocations: 225 kB / 1.575 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01048/3.819, allocations: 7.669 MB / 1.582 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003456/3.822, allocations: 203.6 kB / 1.582 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009476/3.823, allocations: 324.3 kB / 1.583 GB, free: 105.5 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.dpOut2.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction)" type: Real $DER.dpOut1.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction)" type: Real 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 (117): * Single equations (assignments): 107 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 20,2 20} Notification: Performance of prepare postOptimizeDAE: time 0.001421/3.825, allocations: 142.9 kB / 1.583 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008502/3.826, allocations: 188.5 kB / 1.583 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006952/3.833, allocations: 2.753 MB / 1.586 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.745e-05/3.833, allocations: 13.38 kB / 1.586 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/3.833, allocations: 0 / 1.586 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/3.833, allocations: 6.891 kB / 1.586 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009168/3.842, allocations: 4.169 MB / 1.59 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/3.842, allocations: 0 / 1.59 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008633/3.843, allocations: 184.2 kB / 1.59 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00209/3.845, allocations: 1.5 MB / 1.591 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001656/3.845, allocations: 47.27 kB / 1.591 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00389/3.849, allocations: 3.049 MB / 1.594 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/3.849, allocations: 0 / 1.594 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006776/3.856, allocations: 3.562 MB / 1.598 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009476/3.857, allocations: 256.4 kB / 1.598 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006941/3.857, allocations: 7.672 kB / 1.598 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001641/3.859, allocations: 65.56 kB / 1.598 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002221/3.859, allocations: 90.81 kB / 1.598 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002254/3.86, allocations: 113.3 kB / 1.598 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001973/3.862, allocations: 0.9189 MB / 1.599 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007775/3.869, allocations: 1.32 MB / 1.6 GB, free: 103.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (floMac1.vol.dynBal.medium.T,floMac1.filter.x[1],floMac1.filter.x[2],floMac2.vol.dynBal.medium.T,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 (95): * Single equations (assignments): 93 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 15,2 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.00406/3.873, allocations: 1.182 MB / 1.602 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01375/3.887, allocations: 9.093 MB / 1.61 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/3.887, allocations: 1.25 kB / 1.61 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002025/3.889, allocations: 0.8312 MB / 1.611 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005221/3.895, allocations: 0.7254 MB / 1.612 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/3.906, allocations: 2.781 MB / 1.615 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003285/3.909, allocations: 1.647 MB / 1.616 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.463e-06/3.909, allocations: 0 / 1.616 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.1552/4.064, allocations: 83.86 MB / 1.698 GB, free: 60.8 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineParallel_y.makefile (rm -f Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineParallel_y.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineParallel_y.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineParallel_y.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineParallel_y.sim & ./Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineParallel_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachineParallel_y.pipe 2>&1)