Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Examples.PumpsParallel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpsParallel,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_PumpsParallel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpsParallel,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_PumpsParallel",fmuType="me",version="2.0",platforms={"static"}) [: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/Complex 4.0.0+maint.om/package.mo): time 0.004029/0.004029, allocations: 183 kB / 7.461 MB, free: 2.227 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7749/0.7749, allocations: 133.5 MB / 141.4 MB, free: 15.73 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.724/1.724, allocations: 221.3 MB / 395 MB, free: 10.3 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 102 kB / 477.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.448/0.4491, allocations: 88.42 MB / 0.5529 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.6382, allocations: 82.31 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.234/1.872, allocations: 397.9 MB / 1.022 GB, free: 236.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/1.873, allocations: 87.45 kB / 1.022 GB, free: 236.1 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 2.908/4.78, allocations: 0.8751 GB / 1.897 GB, free: 66.19 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/4.78, allocations: 14.31 kB / 1.897 GB, free: 66.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002733/4.783, allocations: 421.7 kB / 1.897 GB, free: 66.05 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03474/4.818, allocations: 14.77 MB / 1.912 GB, free: 65.06 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.936e-05/4.818, allocations: 42.09 kB / 1.912 GB, free: 65.06 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003168/4.818, allocations: 87.03 kB / 1.912 GB, free: 65.06 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002159/4.821, allocations: 1.086 MB / 1.913 GB, free: 65.05 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002086/4.823, allocations: 1.301 MB / 1.914 GB, free: 64.85 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.743e-05/4.823, allocations: 3.781 kB / 1.914 GB, free: 64.85 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/4.823, allocations: 3.156 kB / 1.914 GB, free: 64.85 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.694e-05/4.823, allocations: 51.58 kB / 1.914 GB, free: 64.84 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01183/4.835, allocations: 7.597 MB / 1.922 GB, free: 60.89 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008896/4.836, allocations: 0.558 MB / 1.922 GB, free: 60.86 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008291/4.837, allocations: 0.5657 MB / 1.923 GB, free: 60.84 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005027/4.842, allocations: 2.636 MB / 1.925 GB, free: 59.57 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/4.842, allocations: 52.09 kB / 1.926 GB, free: 59.53 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=90): time 3.196e-06/4.842, allocations: 0 / 1.926 GB, free: 59.53 MB / 0.6823 GB Notification: Performance of matching and sorting (n=90): time 0.003414/4.845, allocations: 1.301 MB / 1.927 GB, free: 59.37 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/4.845, allocations: 61.55 kB / 1.927 GB, free: 59.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002499/4.848, allocations: 1.438 MB / 1.928 GB, free: 59.09 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001695/4.848, allocations: 25.7 kB / 1.928 GB, free: 59.06 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004548/4.848, allocations: 0.6149 MB / 1.929 GB, free: 58.74 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003268/4.849, allocations: 305.5 kB / 1.929 GB, free: 58.54 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.247e-05/4.849, allocations: 0 / 1.929 GB, free: 58.54 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001328/4.849, allocations: 356.4 kB / 1.93 GB, free: 58.23 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006656/4.849, allocations: 409.1 kB / 1.93 GB, free: 58.23 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008873/4.85, allocations: 0.842 MB / 1.931 GB, free: 57.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001817/4.852, allocations: 0.6335 MB / 1.931 GB, free: 57.67 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.205e-05/4.852, allocations: 6.688 kB / 1.931 GB, free: 57.67 MB / 0.6823 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003817/4.856, allocations: 1.55 MB / 1.933 GB, free: 57.47 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.00128/4.857, allocations: 3.78 MB / 1.937 GB, free: 53.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/4.857, allocations: 7.312 kB / 1.937 GB, free: 53.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006759/4.858, allocations: 228.5 kB / 1.937 GB, free: 53.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/4.859, allocations: 274.3 kB / 1.937 GB, free: 53.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/4.861, allocations: 0.96 MB / 1.938 GB, free: 53 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002477/4.863, allocations: 156.7 kB / 1.938 GB, free: 52.94 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002182/4.863, allocations: 82.84 kB / 1.938 GB, free: 52.94 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/4.863, allocations: 3.531 kB / 1.938 GB, free: 52.94 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00369/4.867, allocations: 1.273 MB / 1.939 GB, free: 52.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/4.867, allocations: 10.84 kB / 1.939 GB, free: 52.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007351/4.868, allocations: 232.4 kB / 1.94 GB, free: 52.85 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/4.869, allocations: 262 kB / 1.94 GB, free: 52.83 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007083/4.876, allocations: 3.844 MB / 1.944 GB, free: 51.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002476/4.878, allocations: 131.7 kB / 1.944 GB, free: 51.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002012/4.879, allocations: 73.92 kB / 1.944 GB, free: 51.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 121 * Array equations: 2 * 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 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0005149/4.879, allocations: 136.9 kB / 1.944 GB, free: 50.97 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004771/4.88, allocations: 197 kB / 1.944 GB, free: 50.87 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004217/4.884, allocations: 1.594 MB / 1.946 GB, free: 50.71 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.957e-05/4.884, allocations: 14.17 kB / 1.946 GB, free: 50.71 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/4.884, allocations: 7.469 kB / 1.946 GB, free: 50.71 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002543/4.887, allocations: 1.154 MB / 1.947 GB, free: 50.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009928/4.896, allocations: 3.087 MB / 1.95 GB, free: 49.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/4.897, allocations: 1.953 kB / 1.95 GB, free: 49.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/4.898, allocations: 174 kB / 1.95 GB, free: 49.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004109/4.898, allocations: 144.9 kB / 1.95 GB, free: 49.15 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.66e-05/4.898, allocations: 22.59 kB / 1.95 GB, free: 49.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007637/4.899, allocations: 0.7951 MB / 1.951 GB, free: 48.53 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/4.899, allocations: 4.703 kB / 1.951 GB, free: 48.52 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004604/4.904, allocations: 1.958 MB / 1.953 GB, free: 47.62 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00589/4.909, allocations: 3 MB / 1.956 GB, free: 46.01 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001432/4.911, allocations: 408.9 kB / 1.956 GB, free: 45.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006872/4.912, allocations: 7.641 kB / 1.956 GB, free: 45.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001676/4.913, allocations: 85.98 kB / 1.956 GB, free: 45.71 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/4.913, allocations: 61.8 kB / 1.956 GB, free: 45.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001274/4.914, allocations: 45.08 kB / 1.956 GB, free: 45.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.00245/4.916, allocations: 1.078 MB / 1.958 GB, free: 45.21 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00782/4.924, allocations: 1.622 MB / 1.959 GB, free: 44.56 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (floMac1.vol.dynBal.U,floMac1.filter.s[1],floMac1.filter.s[2],floMac2.vol.dynBal.U,floMac2.filter.s[1],floMac2.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.003508/4.927, allocations: 1.485 MB / 1.961 GB, free: 44.12 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004221/4.932, allocations: 1.936 MB / 1.962 GB, free: 43.39 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.443e-06/4.932, allocations: 2.75 kB / 1.962 GB, free: 43.39 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001173/4.933, allocations: 0.5287 MB / 1.963 GB, free: 43.21 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005214/4.938, allocations: 0.8068 MB / 1.964 GB, free: 43.03 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00845/4.947, allocations: 2.822 MB / 1.967 GB, free: 41.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00266/4.949, allocations: 1.792 MB / 1.968 GB, free: 41.06 MB / 0.6823 GB Notification: Performance of SimCode: time 8.01e-07/4.949, allocations: 0 / 1.968 GB, free: 41.06 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpsParallel.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.PumpsParallel.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.PumpsParallel.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.PumpsParallel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Examples_PumpsParallel_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Examples_PumpsParallel.fmu > IDEAS_IDEAS.Fluid.Movers.Examples.PumpsParallel.pipe 2>&1)