Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="IDEAS_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.004049/0.004049, allocations: 186.7 kB / 7.459 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.703/0.703, 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.693/1.693, allocations: 221.3 MB / 395 MB, free: 10.11 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.001014/0.001013, allocations: 94.56 kB / 477.8 MB, free: 10.72 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5299/0.5309, allocations: 88.44 MB / 0.5529 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.7559, allocations: 82.29 MB / 0.6333 GB, free: 13.87 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.79/5.546, allocations: 1.831 GB / 2.465 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/5.546, allocations: 92.58 kB / 2.465 GB, free: 140 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.654/9.201, allocations: 0.9699 GB / 3.435 GB, free: 187.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/9.201, allocations: 7.562 kB / 3.435 GB, free: 187.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000851/9.202, allocations: 194.1 kB / 3.435 GB, free: 187.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002083/9.204, allocations: 1.092 MB / 3.436 GB, free: 187.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/9.204, allocations: 14.78 kB / 3.436 GB, free: 187.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.365e-05/9.204, allocations: 38.62 kB / 3.436 GB, free: 187.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007013/9.204, allocations: 491.3 kB / 3.436 GB, free: 187.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008184/9.205, allocations: 0.69 MB / 3.437 GB, free: 186.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/9.205, allocations: 0 / 3.437 GB, free: 186.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.049e-05/9.205, allocations: 3.938 kB / 3.437 GB, free: 186.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/9.205, allocations: 18.34 kB / 3.437 GB, free: 186.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003632/9.209, allocations: 4.661 MB / 3.442 GB, free: 183.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005094/9.21, allocations: 447.8 kB / 3.442 GB, free: 183.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000279/9.21, allocations: 252.6 kB / 3.442 GB, free: 183.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000301/9.21, allocations: 199.2 kB / 3.442 GB, free: 183.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003009/9.21, allocations: 265.1 kB / 3.443 GB, free: 183.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 1.904e-06/9.21, allocations: 0 / 3.443 GB, free: 183.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.0009695/9.211, allocations: 0.496 MB / 3.443 GB, free: 183 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/9.211, allocations: 84.84 kB / 3.443 GB, free: 182.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009028/9.212, allocations: 0.8688 MB / 3.444 GB, free: 182.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/9.212, allocations: 29.61 kB / 3.444 GB, free: 182.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/9.213, allocations: 337.7 kB / 3.445 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.487e-05/9.213, allocations: 105.1 kB / 3.445 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.05e-05/9.213, allocations: 0 / 3.445 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.645e-05/9.213, allocations: 327.1 kB / 3.445 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/9.213, allocations: 191.4 kB / 3.445 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000405/9.213, allocations: 0.5183 MB / 3.446 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/9.214, allocations: 273.8 kB / 3.446 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/9.214, allocations: 3.375 kB / 3.446 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007806/9.215, allocations: 0.6234 MB / 3.446 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004926/9.215, allocations: 2.098 MB / 3.449 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/9.215, allocations: 6.625 kB / 3.449 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/9.215, allocations: 14.25 kB / 3.449 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001694/9.217, allocations: 281.5 kB / 3.449 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002672/9.219, allocations: 6.234 MB / 3.455 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009449/9.22, allocations: 82.56 kB / 3.455 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.596e-05/9.221, allocations: 33.3 kB / 3.455 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/9.221, allocations: 10.38 kB / 3.455 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005694/9.221, allocations: 418.6 kB / 3.455 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/9.221, allocations: 7.562 kB / 3.455 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/9.221, allocations: 7.438 kB / 3.455 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005554/9.222, allocations: 149.3 kB / 3.456 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/9.222, allocations: 17.91 kB / 3.456 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007108/9.222, allocations: 74.06 kB / 3.456 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/9.223, allocations: 23.16 kB / 3.456 GB, free: 173.7 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.0001946/9.223, allocations: 128.4 kB / 3.456 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/9.223, allocations: 96.72 kB / 3.456 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007816/9.224, allocations: 451 kB / 3.456 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/9.224, allocations: 7.844 kB / 3.456 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/9.224, allocations: 3.906 kB / 3.456 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/9.224, allocations: 3.375 kB / 3.456 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/9.225, allocations: 1.277 MB / 3.458 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/9.225, allocations: 3.812 kB / 3.458 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006805/9.226, allocations: 162.2 kB / 3.458 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/9.226, allocations: 3.969 kB / 3.458 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/9.226, allocations: 3.375 kB / 3.458 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00219/9.228, allocations: 6.08 MB / 3.464 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/9.228, allocations: 7.672 kB / 3.464 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000638/9.229, allocations: 0.6397 MB / 3.464 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000768/9.23, allocations: 1.069 MB / 3.465 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003458/9.23, allocations: 212.2 kB / 3.466 GB, free: 166 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/9.23, allocations: 7.562 kB / 3.466 GB, free: 166 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005219/9.231, allocations: 55.28 kB / 3.466 GB, free: 166 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.944e-05/9.231, allocations: 30.02 kB / 3.466 GB, free: 166 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/9.231, allocations: 11.75 kB / 3.466 GB, free: 166 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0007889/9.232, allocations: 0.6823 MB / 3.466 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002837/9.235, allocations: 0.6361 MB / 3.467 GB, free: 165.8 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.001459/9.236, allocations: 1.04 MB / 3.468 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002999/9.239, allocations: 0.9589 MB / 3.469 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/9.239, allocations: 0 / 3.469 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007939/9.24, allocations: 282.1 kB / 3.469 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00199/9.242, allocations: 372.5 kB / 3.47 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002597/9.244, allocations: 1.388 MB / 3.471 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007656/9.245, allocations: 1.261 MB / 3.472 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.222e-06/9.245, allocations: 0 / 3.472 GB, free: 164.5 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)