Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="IDEAS_dev_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.001361/0.001362, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8499/0.8499, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.517/1.517, allocations: 221.3 MB / 400.4 MB, free: 5.785 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.001238/0.001238, allocations: 94.02 kB / 483.3 MB, free: 5.809 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.753e-05/4.762e-05, allocations: 4.812 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.1999, allocations: 82.3 MB / 0.6405 GB, free: 7.699 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.106/4.306, allocations: 1.835 GB / 2.475 GB, free: 97 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/4.306, allocations: 83.95 kB / 2.475 GB, free: 96.92 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.729/8.035, allocations: 0.9805 GB / 3.456 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.395e-06/8.035, allocations: 4 kB / 3.456 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001468/8.035, allocations: 35.92 kB / 3.456 GB, free: 165.2 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.002469/8.038, allocations: 1.15 MB / 3.457 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/8.038, allocations: 8.031 kB / 3.457 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001903/8.038, allocations: 94.52 kB / 3.457 GB, free: 164 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009727/8.039, allocations: 185.6 kB / 3.457 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002684/8.042, allocations: 1.101 MB / 3.458 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.678e-05/8.042, allocations: 49 kB / 3.458 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/8.042, allocations: 64 kB / 3.458 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009755/8.043, allocations: 0.7382 MB / 3.459 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/8.043, allocations: 4 kB / 3.459 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.92e-05/8.043, allocations: 28 kB / 3.459 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/8.043, allocations: 12 kB / 3.459 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006375/8.044, allocations: 474.6 kB / 3.46 GB, free: 161.2 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.003726/8.047, allocations: 4.59 MB / 3.464 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004494/8.048, allocations: 378.5 kB / 3.464 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002382/8.048, allocations: 229.3 kB / 3.465 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002515/8.048, allocations: 194.2 kB / 3.465 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003252/8.049, allocations: 274.1 kB / 3.465 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 2.555e-06/8.049, allocations: 0 / 3.465 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.001337/8.05, allocations: 0.6625 MB / 3.466 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/8.05, allocations: 85.09 kB / 3.466 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/8.051, allocations: 0.9729 MB / 3.467 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.696e-05/8.051, allocations: 33.7 kB / 3.467 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003233/8.052, allocations: 0.4966 MB / 3.467 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.519e-05/8.052, allocations: 110.5 kB / 3.467 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-05/8.052, allocations: 8 kB / 3.467 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.185e-05/8.052, allocations: 325.9 kB / 3.468 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/8.052, allocations: 160.8 kB / 3.468 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004153/8.053, allocations: 488.8 kB / 3.468 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/8.053, allocations: 279.4 kB / 3.469 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/8.053, allocations: 4 kB / 3.469 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00136/8.054, allocations: 0.8447 MB / 3.469 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004919/8.055, allocations: 2.135 MB / 3.471 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/8.055, allocations: 7.953 kB / 3.471 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000645/8.056, allocations: 252.7 kB / 3.472 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/8.056, allocations: 63.91 kB / 3.472 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/8.057, allocations: 1.085 MB / 3.473 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008227/8.058, allocations: 107.4 kB / 3.473 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.873e-05/8.058, allocations: 31.94 kB / 3.473 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/8.058, allocations: 4.781 kB / 3.473 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009647/8.059, allocations: 0.6577 MB / 3.474 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/8.059, allocations: 8.625 kB / 3.474 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004728/8.06, allocations: 224.6 kB / 3.474 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/8.06, allocations: 63.91 kB / 3.474 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002747/8.063, allocations: 2.979 MB / 3.477 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007457/8.063, allocations: 91.59 kB / 3.477 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-05/8.063, allocations: 24 kB / 3.477 GB, free: 142.4 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.0001447/8.064, allocations: 145.2 kB / 3.477 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.692e-05/8.064, allocations: 98.78 kB / 3.477 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009533/8.065, allocations: 0.6751 MB / 3.478 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/8.065, allocations: 7.938 kB / 3.478 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/8.065, allocations: 4.188 kB / 3.478 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/8.065, allocations: 3.984 kB / 3.478 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001785/8.066, allocations: 1.568 MB / 3.479 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/8.066, allocations: 4 kB / 3.479 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/8.067, allocations: 19.98 kB / 3.479 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004003/8.067, allocations: 251.2 kB / 3.48 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/8.067, allocations: 12 kB / 3.48 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007393/8.068, allocations: 1.021 MB / 3.481 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/8.068, allocations: 3.938 kB / 3.481 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008083/8.069, allocations: 0.8749 MB / 3.481 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002601/8.069, allocations: 223.8 kB / 3.482 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.228e-05/8.069, allocations: 8.141 kB / 3.482 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005594/8.07, allocations: 55.84 kB / 3.482 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.935e-05/8.07, allocations: 31.89 kB / 3.482 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/8.07, allocations: 23.94 kB / 3.482 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007528/8.07, allocations: 0.7651 MB / 3.483 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/8.07, allocations: 4 kB / 3.483 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001377/8.072, allocations: 0.5191 MB / 3.483 GB, free: 135.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.002046/8.074, allocations: 2.667 MB / 3.486 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001858/8.076, allocations: 1.144 MB / 3.487 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/8.076, allocations: 11.94 kB / 3.487 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004332/8.076, allocations: 259.6 kB / 3.487 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/8.078, allocations: 458.4 kB / 3.488 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/8.08, allocations: 1.657 MB / 3.489 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004803/8.081, allocations: 1.202 MB / 3.49 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001542/8.082, allocations: 0.7256 MB / 3.491 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/8.082, allocations: 295.3 kB / 3.491 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of SimCode: time 2.8e-07/8.082, allocations: 7.938 kB / 3.491 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.613/10.7, allocations: 45.95 MB / 3.536 GB, free: 81.59 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/10.7, allocations: 222.2 kB / 3.536 GB, free: 81.36 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.79/14.49, allocations: 0 / 3.536 GB, free: 81.36 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)