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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001875/0.001875, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8291/0.8291, allocations: 133.6 MB / 141.6 MB, free: 2.852 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.65/1.65, allocations: 221.5 MB / 395.5 MB, free: 10.78 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001044, allocations: 99.55 kB / 478.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.81e-05/1.813e-05, allocations: 4 kB / 0.5535 GB, free: 8.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5345/0.5345, allocations: 82.31 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.76/5.294, allocations: 1.834 GB / 2.468 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/5.295, allocations: 94 kB / 2.468 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.074/8.368, allocations: 0.9702 GB / 3.438 GB, free: 196.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.112e-06/8.369, allocations: 0 / 3.438 GB, free: 196.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001144/8.369, allocations: 31.05 kB / 3.438 GB, free: 196.1 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 0.002112/8.371, allocations: 1.161 MB / 3.439 GB, free: 195.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/8.371, allocations: 9.406 kB / 3.439 GB, free: 195.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008544/8.372, allocations: 185.5 kB / 3.44 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002209/8.374, allocations: 1.101 MB / 3.441 GB, free: 195.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/8.374, allocations: 16.34 kB / 3.441 GB, free: 195.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.508e-05/8.374, allocations: 40.34 kB / 3.441 GB, free: 195.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006451/8.375, allocations: 468.5 kB / 3.441 GB, free: 195.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000719/8.375, allocations: 0.6748 MB / 3.442 GB, free: 195.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/8.375, allocations: 4.562 kB / 3.442 GB, free: 195.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.023e-05/8.375, allocations: 3.875 kB / 3.442 GB, free: 195.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/8.375, allocations: 15 kB / 3.442 GB, free: 195.1 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002798/8.378, allocations: 4.472 MB / 3.446 GB, free: 191.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004298/8.379, allocations: 442.6 kB / 3.447 GB, free: 191.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/8.379, allocations: 237.5 kB / 3.447 GB, free: 191.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002121/8.379, allocations: 197.9 kB / 3.447 GB, free: 191.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002788/8.379, allocations: 262.6 kB / 3.447 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 2.074e-06/8.379, allocations: 0 / 3.447 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.001328/8.381, allocations: 0.7442 MB / 3.448 GB, free: 191.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/8.381, allocations: 83.39 kB / 3.448 GB, free: 191.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007806/8.382, allocations: 0.8515 MB / 3.449 GB, free: 191.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/8.382, allocations: 25.7 kB / 3.449 GB, free: 191.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002512/8.382, allocations: 488.5 kB / 3.449 GB, free: 190.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.955e-05/8.382, allocations: 108.8 kB / 3.449 GB, free: 190.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.93e-05/8.382, allocations: 5.438 kB / 3.45 GB, free: 190.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.315e-05/8.382, allocations: 326.1 kB / 3.45 GB, free: 190.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/8.382, allocations: 177.7 kB / 3.45 GB, free: 190.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002921/8.383, allocations: 498.9 kB / 3.45 GB, free: 190.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/8.383, allocations: 261.5 kB / 3.451 GB, free: 190.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/8.383, allocations: 3.906 kB / 3.451 GB, free: 190.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001223/8.384, allocations: 0.8789 MB / 3.452 GB, free: 190.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003256/8.384, allocations: 2.131 MB / 3.454 GB, free: 187.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/8.384, allocations: 3 kB / 3.454 GB, free: 187.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003787/8.385, allocations: 255 kB / 3.454 GB, free: 187.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/8.385, allocations: 63.11 kB / 3.454 GB, free: 187.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001104/8.386, allocations: 1.177 MB / 3.455 GB, free: 187.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006521/8.387, allocations: 86.84 kB / 3.455 GB, free: 187.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.844e-05/8.387, allocations: 26.03 kB / 3.455 GB, free: 187.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/8.387, allocations: 3.812 kB / 3.455 GB, free: 187.3 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008531/8.388, allocations: 0.5818 MB / 3.456 GB, free: 187.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/8.388, allocations: 7.531 kB / 3.456 GB, free: 187.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00044/8.388, allocations: 207.6 kB / 3.456 GB, free: 187.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/8.388, allocations: 61.72 kB / 3.456 GB, free: 187.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002404/8.391, allocations: 2.868 MB / 3.459 GB, free: 185.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005891/8.391, allocations: 80.48 kB / 3.459 GB, free: 185.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-05/8.391, allocations: 25.95 kB / 3.459 GB, free: 185.9 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.0001135/8.392, allocations: 127.1 kB / 3.459 GB, free: 185.8 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006834/8.392, allocations: 0.6009 MB / 3.46 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.638e-05/8.392, allocations: 96.89 kB / 3.46 GB, free: 185.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007759/8.393, allocations: 0.6441 MB / 3.46 GB, free: 185.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/8.393, allocations: 3.594 kB / 3.46 GB, free: 185.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/8.393, allocations: 0 / 3.46 GB, free: 185.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/8.393, allocations: 3.422 kB / 3.46 GB, free: 185.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/8.395, allocations: 1.471 MB / 3.462 GB, free: 185.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/8.395, allocations: 3.594 kB / 3.462 GB, free: 185.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/8.395, allocations: 26.28 kB / 3.462 GB, free: 185.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002635/8.395, allocations: 211.3 kB / 3.462 GB, free: 185.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/8.395, allocations: 3.844 kB / 3.462 GB, free: 185.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006805/8.396, allocations: 1.04 MB / 3.463 GB, free: 184.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/8.396, allocations: 3.906 kB / 3.463 GB, free: 184.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007181/8.397, allocations: 0.8387 MB / 3.464 GB, free: 184.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002389/8.397, allocations: 212.2 kB / 3.464 GB, free: 184 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/8.397, allocations: 7.766 kB / 3.464 GB, free: 184 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004562/8.397, allocations: 54.59 kB / 3.464 GB, free: 184 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.259e-05/8.397, allocations: 33.16 kB / 3.464 GB, free: 184 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/8.398, allocations: 13.98 kB / 3.464 GB, free: 184 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005794/8.398, allocations: 0.6631 MB / 3.465 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/8.398, allocations: 0 / 3.465 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001145/8.399, allocations: 0.4893 MB / 3.465 GB, free: 183.9 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.002144/8.401, allocations: 2.774 MB / 3.468 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001624/8.403, allocations: 1.111 MB / 3.469 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/8.403, allocations: 3.875 kB / 3.469 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004052/8.403, allocations: 248.9 kB / 3.469 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/8.405, allocations: 399.4 kB / 3.47 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/8.407, allocations: 1.598 MB / 3.471 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/8.407, allocations: 1.205 MB / 3.472 GB, free: 181 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00138/8.409, allocations: 0.6751 MB / 3.473 GB, free: 181 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002267/8.409, allocations: 301.5 kB / 3.473 GB, free: 181 MB / 0.6823 GB Notification: Performance of SimCode: time 3.41e-07/8.409, allocations: 0 / 3.473 GB, free: 181 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.14/9.549, allocations: 32.21 MB / 3.505 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002262/9.549, allocations: 166.3 kB / 3.505 GB, free: 178 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.947/12.5, allocations: 0 / 3.505 GB, free: 178 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)