Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow",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.003826/0.003826, allocations: 177.8 kB / 7.455 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7008/0.7008, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.649/1.649, allocations: 221.3 MB / 395 MB, free: 10.22 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.001267/0.001267, allocations: 101.4 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5111/0.5124, allocations: 88.43 MB / 0.5529 GB, free: 89.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.7345, allocations: 82.29 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.41/5.145, allocations: 1.831 GB / 2.465 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/5.145, allocations: 91.94 kB / 2.465 GB, free: 133.6 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 3.503/8.649, allocations: 0.9698 GB / 3.435 GB, free: 182 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/8.649, allocations: 11.41 kB / 3.435 GB, free: 182 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008394/8.65, allocations: 187.4 kB / 3.435 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00206/8.652, allocations: 1.094 MB / 3.436 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/8.652, allocations: 17.94 kB / 3.436 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.31e-05/8.652, allocations: 38.09 kB / 3.436 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006954/8.652, allocations: 491.5 kB / 3.436 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008155/8.653, allocations: 0.6826 MB / 3.437 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/8.653, allocations: 0 / 3.437 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.353e-05/8.653, allocations: 9.156 kB / 3.437 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/8.653, allocations: 14.31 kB / 3.437 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003474/8.657, allocations: 4.666 MB / 3.442 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004929/8.657, allocations: 457.9 kB / 3.442 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000262/8.658, allocations: 252.4 kB / 3.442 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002848/8.658, allocations: 193.9 kB / 3.443 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002998/8.658, allocations: 264.9 kB / 3.443 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 2.715e-06/8.658, allocations: 0 / 3.443 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.0009076/8.659, allocations: 0.4989 MB / 3.443 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/8.659, allocations: 88.47 kB / 3.443 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008841/8.66, allocations: 0.8708 MB / 3.444 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.905e-05/8.66, allocations: 28.67 kB / 3.444 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/8.66, allocations: 337.4 kB / 3.445 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.24e-05/8.66, allocations: 106.9 kB / 3.445 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/8.66, allocations: 0 / 3.445 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.027e-05/8.66, allocations: 326.6 kB / 3.445 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/8.661, allocations: 187.5 kB / 3.445 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003702/8.661, allocations: 0.5094 MB / 3.446 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/8.661, allocations: 273.7 kB / 3.446 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/8.661, allocations: 0 / 3.446 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008208/8.662, allocations: 0.6285 MB / 3.446 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003972/8.663, allocations: 2.099 MB / 3.449 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/8.663, allocations: 7.578 kB / 3.449 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/8.663, allocations: 15.28 kB / 3.449 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001731/8.664, allocations: 274.1 kB / 3.449 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002922/8.667, allocations: 6.236 MB / 3.455 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/8.669, allocations: 87.8 kB / 3.455 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.567e-05/8.669, allocations: 29.75 kB / 3.455 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/8.669, allocations: 3.719 kB / 3.455 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006167/8.669, allocations: 415.2 kB / 3.455 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/8.669, allocations: 11.3 kB / 3.455 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/8.669, allocations: 8.969 kB / 3.455 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005711/8.67, allocations: 153.4 kB / 3.456 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/8.67, allocations: 11.47 kB / 3.456 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008533/8.671, allocations: 75.72 kB / 3.456 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.344e-05/8.671, allocations: 28.36 kB / 3.456 GB, free: 168.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001554/8.671, allocations: 125.7 kB / 3.456 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/8.671, allocations: 96.53 kB / 3.456 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007348/8.672, allocations: 457.2 kB / 3.456 GB, free: 168 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/8.672, allocations: 6.969 kB / 3.456 GB, free: 168 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/8.672, allocations: 3.906 kB / 3.456 GB, free: 168 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/8.672, allocations: 3.906 kB / 3.456 GB, free: 168 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/8.674, allocations: 1.271 MB / 3.458 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/8.674, allocations: 3.844 kB / 3.458 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006942/8.674, allocations: 157.4 kB / 3.458 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/8.674, allocations: 7.344 kB / 3.458 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/8.674, allocations: 7.438 kB / 3.458 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001888/8.676, allocations: 6.089 MB / 3.464 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/8.676, allocations: 0 / 3.464 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005926/8.677, allocations: 0.6371 MB / 3.464 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007803/8.678, allocations: 1.074 MB / 3.465 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004801/8.678, allocations: 210.1 kB / 3.466 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/8.678, allocations: 3.938 kB / 3.466 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000545/8.679, allocations: 50.5 kB / 3.466 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.846e-05/8.679, allocations: 34.09 kB / 3.466 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/8.679, allocations: 15.33 kB / 3.466 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0009237/8.68, allocations: 0.6811 MB / 3.466 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003313/8.683, allocations: 0.6376 MB / 3.467 GB, free: 160.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00144/8.685, allocations: 1.038 MB / 3.468 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002984/8.688, allocations: 0.9513 MB / 3.469 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/8.688, allocations: 0 / 3.469 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007489/8.688, allocations: 283 kB / 3.469 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001903/8.69, allocations: 379 kB / 3.47 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/8.693, allocations: 1.382 MB / 3.471 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000692/8.694, allocations: 1.262 MB / 3.472 GB, free: 159 MB / 0.6823 GB Notification: Performance of SimCode: time 1.252e-06/8.694, allocations: 3.406 kB / 3.472 GB, free: 159 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)