Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",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.004153/0.004153, allocations: 181.4 kB / 7.459 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.7181/0.7181, 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.688/1.688, allocations: 221.3 MB / 395 MB, free: 10.17 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.001182/0.001182, allocations: 98.09 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5294/0.5306, allocations: 88.44 MB / 0.5529 GB, free: 89.15 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.7273, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.292/5.019, allocations: 1.834 GB / 2.467 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/5.019, allocations: 95.94 kB / 2.467 GB, free: 129.5 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 6.346/11.37, allocations: 1.815 GB / 4.283 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/11.37, allocations: 8 kB / 4.283 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009635/11.37, allocations: 189.4 kB / 4.283 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002597/11.37, allocations: 1.118 MB / 4.284 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/11.37, allocations: 16 kB / 4.284 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.573e-05/11.37, allocations: 36 kB / 4.284 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007844/11.37, allocations: 489.7 kB / 4.284 GB, free: 157.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008532/11.37, allocations: 0.6888 MB / 4.285 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/11.37, allocations: 0 / 4.285 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.763e-05/11.37, allocations: 8 kB / 4.285 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/11.37, allocations: 12 kB / 4.285 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004936/11.38, allocations: 4.669 MB / 4.29 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007181/11.38, allocations: 445.5 kB / 4.29 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003247/11.38, allocations: 248.7 kB / 4.29 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003494/11.38, allocations: 197.9 kB / 4.29 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003452/11.38, allocations: 261.2 kB / 4.291 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 3.065e-06/11.38, allocations: 3.938 kB / 4.291 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.001927/11.38, allocations: 0.7736 MB / 4.291 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/11.38, allocations: 85.09 kB / 4.292 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/11.38, allocations: 0.8719 MB / 4.292 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.951e-05/11.38, allocations: 29.7 kB / 4.292 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002984/11.38, allocations: 340 kB / 4.293 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.674e-05/11.38, allocations: 106.5 kB / 4.293 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-05/11.38, allocations: 0 / 4.293 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001073/11.38, allocations: 326 kB / 4.293 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/11.38, allocations: 188.8 kB / 4.293 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005105/11.38, allocations: 0.5074 MB / 4.294 GB, free: 147 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003415/11.38, allocations: 274.2 kB / 4.294 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/11.38, allocations: 4 kB / 4.294 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001827/11.38, allocations: 0.8928 MB / 4.295 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005575/11.39, allocations: 2.097 MB / 4.297 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/11.39, allocations: 8 kB / 4.297 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000467/11.39, allocations: 233.9 kB / 4.297 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002746/11.39, allocations: 63.81 kB / 4.297 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/11.39, allocations: 1.149 MB / 4.298 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/11.39, allocations: 83.53 kB / 4.299 GB, free: 142 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.45e-05/11.39, allocations: 27.98 kB / 4.299 GB, free: 142 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/11.39, allocations: 6.188 kB / 4.299 GB, free: 142 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001046/11.39, allocations: 0.5891 MB / 4.299 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/11.39, allocations: 4 kB / 4.299 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000543/11.39, allocations: 204.4 kB / 4.299 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/11.39, allocations: 71.84 kB / 4.299 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003076/11.39, allocations: 2.75 MB / 4.302 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/11.39, allocations: 75.75 kB / 4.302 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.166e-05/11.39, allocations: 23.98 kB / 4.302 GB, free: 138.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 (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 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0002277/11.39, allocations: 124.8 kB / 4.302 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/11.4, allocations: 98.78 kB / 4.302 GB, free: 138 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/11.4, allocations: 0.6525 MB / 4.303 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/11.4, allocations: 4 kB / 4.303 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/11.4, allocations: 7.922 kB / 4.303 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/11.4, allocations: 3.938 kB / 4.303 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002298/11.4, allocations: 1.475 MB / 4.304 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/11.4, allocations: 3.938 kB / 4.304 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/11.4, allocations: 32.19 kB / 4.305 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003393/11.4, allocations: 189.6 kB / 4.305 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/11.4, allocations: 8 kB / 4.305 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008346/11.4, allocations: 1.017 MB / 4.306 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/11.4, allocations: 0 / 4.306 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009896/11.4, allocations: 0.8575 MB / 4.307 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001384/11.4, allocations: 1.277 MB / 4.308 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005264/11.4, allocations: 215.8 kB / 4.308 GB, free: 132 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/11.4, allocations: 7.984 kB / 4.308 GB, free: 132 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006273/11.4, allocations: 51.8 kB / 4.308 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/11.4, allocations: 27.95 kB / 4.308 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.979e-05/11.4, allocations: 16 kB / 4.308 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0009623/11.4, allocations: 0.6847 MB / 4.309 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003372/11.41, allocations: 0.6596 MB / 4.309 GB, free: 130.5 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 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001883/11.41, allocations: 1.105 MB / 4.31 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001749/11.41, allocations: 0.9237 MB / 4.311 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/11.41, allocations: 0 / 4.311 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000367/11.41, allocations: 202.3 kB / 4.312 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/11.41, allocations: 385.5 kB / 4.312 GB, free: 128 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/11.42, allocations: 1.405 MB / 4.313 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008065/11.42, allocations: 1.255 MB / 4.315 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of SimCode: time 2.164e-06/11.42, allocations: 0 / 4.315 GB, free: 125.3 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)