Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009635/0.0009635, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 223.2 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9151/0.9151, allocations: 135.3 MB / 426.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004985/0.0004986, allocations: 9.375 kB / 0.5071 GB, free: 5.043 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1856, allocations: 82.32 MB / 0.5875 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.4254/0.611, allocations: 146.7 MB / 0.7308 GB, free: 3.129 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003416/0.6145, allocations: 1.643 MB / 0.7324 GB, free: 1.984 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003559/0.6148, allocations: 13.25 kB / 0.7324 GB, free: 1.977 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005071/0.6154, allocations: 113.4 kB / 0.7325 GB, free: 1.91 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001215/0.6166, allocations: 390.1 kB / 0.7328 GB, free: 1.703 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.6177, allocations: 333.7 kB / 0.7332 GB, free: 1.551 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003255/0.621, allocations: 2.981 MB / 0.7361 GB, free: 436 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.6222, allocations: 0.695 MB / 0.7368 GB, free: 184 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001836/0.624, allocations: 0.8594 MB / 0.7376 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.6251, allocations: 0.7035 MB / 0.7383 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.996e-05/0.6252, allocations: 38.5 kB / 0.7383 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.6265, allocations: 0.5548 MB / 0.7389 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002691/0.6268, allocations: 278.9 kB / 0.7391 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002928/0.6271, allocations: 234.3 kB / 0.7394 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.6282, allocations: 1.017 MB / 0.7403 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.6282, allocations: 0 / 0.7403 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6282, allocations: 0 / 0.7403 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.603e-05/0.6282, allocations: 0 / 0.7403 GB, free: 14.79 MB / 0.5606 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 0.001975/0.6302, allocations: 1.308 MB / 0.7416 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.6303, allocations: 11.41 kB / 0.7416 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001054/0.6304, allocations: 98.58 kB / 0.7417 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006952/0.6311, allocations: 187.2 kB / 0.7419 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/0.6323, allocations: 0.8006 MB / 0.7427 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.184e-05/0.6324, allocations: 45.55 kB / 0.7427 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.482e-05/0.6325, allocations: 63.31 kB / 0.7428 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.6336, allocations: 0.7911 MB / 0.7436 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.6336, allocations: 4 kB / 0.7436 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.833e-05/0.6336, allocations: 22.69 kB / 0.7436 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.6337, allocations: 14.84 kB / 0.7436 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008211/0.6345, allocations: 0.5419 MB / 0.7441 GB, free: 12.14 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.003704/0.6382, allocations: 4.613 MB / 0.7486 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006868/0.6389, allocations: 423 kB / 0.749 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003667/0.6393, allocations: 250.4 kB / 0.7493 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002938/0.6396, allocations: 198.2 kB / 0.7495 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004757/0.6401, allocations: 294.6 kB / 0.7497 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 5.3e-06/0.6401, allocations: 3.984 kB / 0.7498 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001335/0.6414, allocations: 0.6509 MB / 0.7504 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.6415, allocations: 81.11 kB / 0.7505 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.6427, allocations: 1.11 MB / 0.7515 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.922e-05/0.6428, allocations: 41.69 kB / 0.7516 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003777/0.6432, allocations: 493.1 kB / 0.7521 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.157e-05/0.6433, allocations: 106.5 kB / 0.7522 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/0.6433, allocations: 8 kB / 0.7522 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.6434, allocations: 330 kB / 0.7525 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003179/0.6437, allocations: 188.7 kB / 0.7527 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005205/0.6443, allocations: 0.4901 MB / 0.7531 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004105/0.6447, allocations: 292 kB / 0.7534 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.6447, allocations: 4 kB / 0.7534 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001059/0.6458, allocations: 0.6741 MB / 0.7541 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001658/0.646, allocations: 283.8 kB / 0.7544 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.646, allocations: 5.328 kB / 0.7544 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.646, allocations: 8 kB / 0.7544 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/0.6477, allocations: 385.5 kB / 0.7547 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003045/0.6508, allocations: 6.091 MB / 0.7607 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008612/0.6517, allocations: 107.5 kB / 0.7608 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-05/0.6518, allocations: 31.92 kB / 0.7608 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/0.6518, allocations: 7.938 kB / 0.7608 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008615/0.6526, allocations: 0.5412 MB / 0.7614 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.6527, allocations: 4 kB / 0.7614 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.6527, allocations: 8 kB / 0.7614 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005285/0.6532, allocations: 164.2 kB / 0.7615 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.6532, allocations: 15.88 kB / 0.7615 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006309/0.6539, allocations: 95.52 kB / 0.7616 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/0.6539, allocations: 20 kB / 0.7616 GB, free: 9.461 MB / 0.5762 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 () * Number of clocked 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.0005449/0.6545, allocations: 470.8 kB / 0.7621 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.6546, allocations: 110.7 kB / 0.7622 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000847/0.6554, allocations: 0.4921 MB / 0.7627 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.6555, allocations: 7.984 kB / 0.7627 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.6555, allocations: 1.312 kB / 0.7627 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.6555, allocations: 4 kB / 0.7627 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00184/0.6573, allocations: 1.393 MB / 0.7641 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.6574, allocations: 0 / 0.7641 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005956/0.658, allocations: 164.4 kB / 0.7642 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.658, allocations: 4 kB / 0.7642 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.658, allocations: 8.219 kB / 0.7642 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00258/0.6606, allocations: 6.025 MB / 0.7701 GB, free: 488 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6606, allocations: 0 / 0.7701 GB, free: 488 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008207/0.6614, allocations: 0.6145 MB / 0.7707 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000331/0.6618, allocations: 223.8 kB / 0.7709 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.6619, allocations: 16 kB / 0.7709 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004734/0.6624, allocations: 59.75 kB / 0.771 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.834e-05/0.6625, allocations: 31.95 kB / 0.771 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.6625, allocations: 12 kB / 0.771 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000982/0.6635, allocations: 0.7836 MB / 0.7718 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6635, allocations: 0 / 0.7718 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001165/0.6647, allocations: 411.4 kB / 0.7722 GB, free: 14.27 MB / 0.5919 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) * Number of clocked states: 0 () * 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.001359/0.6661, allocations: 1.218 MB / 0.7734 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002891/0.669, allocations: 1.109 MB / 0.7745 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.669, allocations: 4 kB / 0.7745 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007757/0.6698, allocations: 298.3 kB / 0.7748 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001903/0.6717, allocations: 456.2 kB / 0.7752 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.683, allocations: 6.308 MB / 0.7813 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009429/0.684, allocations: 1.18 MB / 0.7825 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001214/0.6852, allocations: 375.5 kB / 0.7829 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004685/0.6857, allocations: 315.3 kB / 0.7832 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of SimCode: time 1.173e-06/0.6858, allocations: 0 / 0.7832 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04893/0.7347, allocations: 26.4 MB / 0.8089 GB, free: 8.66 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/0.7349, allocations: 251.5 kB / 0.8092 GB, free: 8.324 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.297/3.032, allocations: 0 / 0.8092 GB, free: 8.324 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) Environment - environmentSimulation: