Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDp",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.004244/0.004244, allocations: 180.7 kB / 7.457 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7445/0.7445, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.713/1.713, 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.001125/0.001125, allocations: 97.89 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5148/0.5159, allocations: 88.45 MB / 0.5529 GB, free: 89.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.7112, allocations: 82.29 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.523/5.234, allocations: 1.834 GB / 2.467 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/5.234, allocations: 99.86 kB / 2.467 GB, free: 136.7 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 3.578/8.812, allocations: 0.982 GB / 3.449 GB, free: 187.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/8.812, allocations: 10.42 kB / 3.449 GB, free: 187.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009439/8.813, allocations: 188.2 kB / 3.45 GB, free: 187.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00221/8.816, allocations: 1.115 MB / 3.451 GB, free: 187 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/8.816, allocations: 20.19 kB / 3.451 GB, free: 187 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-05/8.816, allocations: 39.09 kB / 3.451 GB, free: 187 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006627/8.816, allocations: 486.2 kB / 3.451 GB, free: 187 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000776/8.817, allocations: 0.6819 MB / 3.452 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/8.817, allocations: 3.062 kB / 3.452 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.272e-05/8.817, allocations: 5.266 kB / 3.452 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/8.817, allocations: 12.41 kB / 3.452 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003588/8.821, allocations: 4.679 MB / 3.456 GB, free: 183.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005103/8.821, allocations: 445.7 kB / 3.457 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002571/8.822, allocations: 248.6 kB / 3.457 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002983/8.822, allocations: 195.5 kB / 3.457 GB, free: 183 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002868/8.822, allocations: 263.6 kB / 3.457 GB, free: 183 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 2.335e-06/8.822, allocations: 0 / 3.457 GB, free: 183 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.001594/8.824, allocations: 0.7476 MB / 3.458 GB, free: 182.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/8.824, allocations: 91.75 kB / 3.458 GB, free: 182.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/8.825, allocations: 0.879 MB / 3.459 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.055e-05/8.825, allocations: 31.58 kB / 3.459 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/8.825, allocations: 342.3 kB / 3.46 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.034e-05/8.825, allocations: 100.3 kB / 3.46 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.037e-05/8.825, allocations: 0 / 3.46 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.173e-05/8.825, allocations: 331.5 kB / 3.46 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/8.826, allocations: 183.9 kB / 3.46 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004582/8.826, allocations: 0.5061 MB / 3.461 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003137/8.827, allocations: 278 kB / 3.461 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/8.827, allocations: 3.938 kB / 3.461 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001474/8.828, allocations: 0.8885 MB / 3.462 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005248/8.829, allocations: 2.093 MB / 3.464 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/8.829, allocations: 7.688 kB / 3.464 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005077/8.829, allocations: 257.8 kB / 3.464 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/8.829, allocations: 62.3 kB / 3.464 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/8.831, allocations: 1.246 MB / 3.465 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008912/8.832, allocations: 85.28 kB / 3.465 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.581e-05/8.832, allocations: 25.58 kB / 3.465 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/8.832, allocations: 3.875 kB / 3.465 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001588/8.833, allocations: 0.5733 MB / 3.466 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/8.833, allocations: 5.531 kB / 3.466 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007267/8.834, allocations: 212.4 kB / 3.466 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/8.834, allocations: 67.62 kB / 3.466 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003521/8.838, allocations: 2.753 MB / 3.469 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/8.839, allocations: 75.41 kB / 3.469 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.087e-05/8.839, allocations: 26.06 kB / 3.469 GB, free: 177 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * 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 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002382/8.839, allocations: 125.6 kB / 3.469 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/8.84, allocations: 97.11 kB / 3.469 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001593/8.841, allocations: 0.651 MB / 3.47 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/8.841, allocations: 7.344 kB / 3.47 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/8.841, allocations: 6.688 kB / 3.47 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/8.841, allocations: 4.656 kB / 3.47 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002872/8.844, allocations: 1.476 MB / 3.471 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/8.844, allocations: 2.375 kB / 3.471 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/8.844, allocations: 26.09 kB / 3.471 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004615/8.845, allocations: 220.5 kB / 3.472 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/8.845, allocations: 5.188 kB / 3.472 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001594/8.846, allocations: 1.097 MB / 3.473 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/8.846, allocations: 4.281 kB / 3.473 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001309/8.848, allocations: 0.8465 MB / 3.473 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001334/8.849, allocations: 1.281 MB / 3.475 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005075/8.85, allocations: 215 kB / 3.475 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/8.85, allocations: 7.172 kB / 3.475 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005732/8.85, allocations: 52.19 kB / 3.475 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.288e-05/8.85, allocations: 27.83 kB / 3.475 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.129e-05/8.85, allocations: 12.38 kB / 3.475 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0009947/8.851, allocations: 0.6865 MB / 3.476 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003708/8.855, allocations: 0.6692 MB / 3.476 GB, free: 173.1 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 (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001494/8.857, allocations: 1.11 MB / 3.477 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002337/8.859, allocations: 1.024 MB / 3.478 GB, free: 172.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/8.859, allocations: 3.469 kB / 3.478 GB, free: 172.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005912/8.86, allocations: 259.4 kB / 3.479 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/8.862, allocations: 383.5 kB / 3.479 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/8.864, allocations: 1.399 MB / 3.48 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009965/8.865, allocations: 1.263 MB / 3.482 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of SimCode: time 9.92e-07/8.865, allocations: 0 / 3.482 GB, free: 171.1 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)