Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Movers_Examples_PumpsParallel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpsParallel,fileNamePrefix="IDEAS_dev_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.003372/0.003372, allocations: 183.2 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7029/0.7029, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.443/1.443, allocations: 221.3 MB / 395 MB, free: 10.25 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.0009436/0.0009435, allocations: 106.6 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4241/0.4251, allocations: 88.42 MB / 0.5529 GB, free: 89.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.5866, allocations: 82.29 MB / 0.6333 GB, free: 14.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.152/1.738, allocations: 397.9 MB / 1.022 GB, free: 236.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/1.739, allocations: 83.52 kB / 1.022 GB, free: 236.2 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 3.032/4.771, allocations: 0.8751 GB / 1.897 GB, free: 65.92 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/4.771, allocations: 15.34 kB / 1.897 GB, free: 65.91 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002689/4.774, allocations: 425.8 kB / 1.897 GB, free: 65.78 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03838/4.812, allocations: 14.78 MB / 1.912 GB, free: 64.79 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.044e-05/4.812, allocations: 40.59 kB / 1.912 GB, free: 64.79 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003663/4.813, allocations: 91.92 kB / 1.912 GB, free: 64.79 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002442/4.815, allocations: 1.087 MB / 1.913 GB, free: 64.78 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00213/4.817, allocations: 1.301 MB / 1.914 GB, free: 64.57 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.301e-05/4.817, allocations: 6.188 kB / 1.914 GB, free: 64.57 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/4.817, allocations: 3.328 kB / 1.914 GB, free: 64.57 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.394e-05/4.817, allocations: 48.02 kB / 1.914 GB, free: 64.57 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0116/4.829, allocations: 7.598 MB / 1.922 GB, free: 60.61 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000892/4.83, allocations: 0.5544 MB / 1.922 GB, free: 60.59 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000865/4.831, allocations: 0.5658 MB / 1.923 GB, free: 60.57 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005319/4.836, allocations: 2.642 MB / 1.926 GB, free: 59.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.078e-05/4.836, allocations: 52.5 kB / 1.926 GB, free: 59.26 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=90): time 4.638e-06/4.836, allocations: 0 / 1.926 GB, free: 59.26 MB / 0.6823 GB Notification: Performance of matching and sorting (n=90): time 0.003684/4.84, allocations: 1.294 MB / 1.927 GB, free: 59.09 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/4.84, allocations: 65.69 kB / 1.927 GB, free: 59.03 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002401/4.843, allocations: 1.436 MB / 1.928 GB, free: 58.82 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001252/4.843, allocations: 25.7 kB / 1.928 GB, free: 58.79 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004988/4.843, allocations: 0.6118 MB / 1.929 GB, free: 58.47 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003876/4.844, allocations: 302.3 kB / 1.929 GB, free: 58.27 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-05/4.844, allocations: 0 / 1.929 GB, free: 58.27 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001365/4.844, allocations: 355.5 kB / 1.93 GB, free: 57.96 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006795/4.844, allocations: 415.5 kB / 1.93 GB, free: 57.96 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009531/4.845, allocations: 0.841 MB / 1.931 GB, free: 57.42 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002063/4.847, allocations: 0.6325 MB / 1.931 GB, free: 57.39 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/4.848, allocations: 0 / 1.931 GB, free: 57.39 MB / 0.6823 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003805/4.851, allocations: 1.558 MB / 1.933 GB, free: 57.19 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001212/4.853, allocations: 3.777 MB / 1.937 GB, free: 53.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/4.853, allocations: 7.875 kB / 1.937 GB, free: 53.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007203/4.853, allocations: 224.4 kB / 1.937 GB, free: 53.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/4.855, allocations: 273.9 kB / 1.937 GB, free: 53.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/4.856, allocations: 0.956 MB / 1.938 GB, free: 52.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002223/4.858, allocations: 164.7 kB / 1.938 GB, free: 52.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002072/4.858, allocations: 76.27 kB / 1.938 GB, free: 52.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/4.858, allocations: 7.719 kB / 1.938 GB, free: 52.66 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003423/4.862, allocations: 1.278 MB / 1.939 GB, free: 52.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/4.862, allocations: 6.125 kB / 1.939 GB, free: 52.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007315/4.862, allocations: 238.2 kB / 1.94 GB, free: 52.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/4.863, allocations: 262.6 kB / 1.94 GB, free: 52.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00681/4.87, allocations: 3.839 MB / 1.944 GB, free: 50.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002474/4.873, allocations: 137.8 kB / 1.944 GB, free: 50.81 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002/4.873, allocations: 76.25 kB / 1.944 GB, free: 50.81 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.0004869/4.874, allocations: 135.6 kB / 1.944 GB, free: 50.68 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004544/4.874, allocations: 200.7 kB / 1.944 GB, free: 50.58 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004211/4.878, allocations: 1.585 MB / 1.946 GB, free: 50.43 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.981e-05/4.878, allocations: 14.28 kB / 1.946 GB, free: 50.43 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/4.878, allocations: 8.25 kB / 1.946 GB, free: 50.43 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002985/4.881, allocations: 1.171 MB / 1.947 GB, free: 50.16 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009555/4.891, allocations: 3.075 MB / 1.95 GB, free: 48.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/4.891, allocations: 1.125 kB / 1.95 GB, free: 48.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/4.892, allocations: 175.2 kB / 1.95 GB, free: 48.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004549/4.892, allocations: 149.3 kB / 1.95 GB, free: 48.67 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/4.893, allocations: 20.45 kB / 1.95 GB, free: 48.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008579/4.893, allocations: 0.7924 MB / 1.951 GB, free: 48.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.495e-06/4.893, allocations: 3.906 kB / 1.951 GB, free: 48.04 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005078/4.899, allocations: 1.965 MB / 1.953 GB, free: 47.14 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006197/4.905, allocations: 2.994 MB / 1.956 GB, free: 45.53 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001771/4.907, allocations: 407.5 kB / 1.956 GB, free: 45.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008145/4.907, allocations: 11.69 kB / 1.956 GB, free: 45.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001866/4.909, allocations: 88.88 kB / 1.956 GB, free: 45.23 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/4.909, allocations: 52.5 kB / 1.956 GB, free: 45.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001561/4.91, allocations: 55.31 kB / 1.956 GB, free: 45.21 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.003167/4.913, allocations: 1.079 MB / 1.958 GB, free: 44.73 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.009418/4.922, allocations: 1.616 MB / 1.959 GB, free: 44.07 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.003972/4.926, allocations: 1.486 MB / 1.961 GB, free: 43.64 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005114/4.931, allocations: 1.942 MB / 1.962 GB, free: 42.91 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/4.932, allocations: 0 / 1.962 GB, free: 42.91 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001478/4.933, allocations: 0.5243 MB / 1.963 GB, free: 42.73 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006208/4.939, allocations: 0.8202 MB / 1.964 GB, free: 42.55 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/4.951, allocations: 2.815 MB / 1.967 GB, free: 41.42 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004221/4.956, allocations: 1.792 MB / 1.968 GB, free: 40.58 MB / 0.6823 GB Notification: Performance of SimCode: time 2.795e-06/4.956, allocations: 0.75 kB / 1.968 GB, free: 40.58 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpsParallel.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpsParallel.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpsParallel.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpsParallel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpsParallel_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpsParallel.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpsParallel.pipe 2>&1)