Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example3.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.Example3,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example3,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example3",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.001518/0.001518, allocations: 174.8 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.7294/0.7294, 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.449/1.449, allocations: 221.3 MB / 400.4 MB, free: 5.859 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.0008796/0.0008796, allocations: 96.66 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 2.963e-05/2.977e-05, allocations: 2.406 kB / 0.5601 GB, free: 87.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.148, allocations: 82.3 MB / 0.6405 GB, free: 7.746 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.265/1.413, allocations: 364.6 MB / 0.9966 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003138/1.413, allocations: 89.25 kB / 0.9966 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.343/3.756, allocations: 0.7014 GB / 1.698 GB, free: 50.84 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.954e-06/3.756, allocations: 0 / 1.698 GB, free: 50.84 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003385/3.756, allocations: 53.23 kB / 1.698 GB, free: 50.8 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.004852/3.761, allocations: 1.85 MB / 1.7 GB, free: 48.91 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/3.761, allocations: 8.031 kB / 1.7 GB, free: 48.91 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004367/3.762, allocations: 147.8 kB / 1.7 GB, free: 48.75 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/3.763, allocations: 288.9 kB / 1.7 GB, free: 48.47 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006468/3.77, allocations: 2.536 MB / 1.703 GB, free: 45.94 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.823e-05/3.77, allocations: 78 kB / 1.703 GB, free: 45.86 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002621/3.77, allocations: 108 kB / 1.703 GB, free: 45.76 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/3.772, allocations: 1.202 MB / 1.704 GB, free: 44.48 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/3.772, allocations: 3.938 kB / 1.704 GB, free: 44.47 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/3.772, allocations: 43.95 kB / 1.704 GB, free: 44.43 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/3.772, allocations: 20 kB / 1.704 GB, free: 44.41 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001429/3.774, allocations: 0.89 MB / 1.705 GB, free: 43.52 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.007434/3.781, allocations: 6.598 MB / 1.712 GB, free: 36.52 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008258/3.782, allocations: 0.5613 MB / 1.712 GB, free: 35.95 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004351/3.783, allocations: 360.1 kB / 1.712 GB, free: 35.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002688/3.785, allocations: 1.617 MB / 1.714 GB, free: 33.88 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004671/3.786, allocations: 349.3 kB / 1.714 GB, free: 33.52 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008401/3.787, allocations: 139.2 kB / 1.714 GB, free: 33.38 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 4.499e-06/3.787, allocations: 0 / 1.714 GB, free: 33.38 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.001375/3.788, allocations: 0.7603 MB / 1.715 GB, free: 32.62 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/3.788, allocations: 55.84 kB / 1.715 GB, free: 32.55 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002245/3.79, allocations: 1.549 MB / 1.717 GB, free: 30.96 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.76e-05/3.79, allocations: 37.7 kB / 1.717 GB, free: 30.91 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005688/3.791, allocations: 0.8495 MB / 1.718 GB, free: 30.06 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/3.791, allocations: 172 kB / 1.718 GB, free: 29.89 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/3.791, allocations: 12 kB / 1.718 GB, free: 29.88 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.855e-05/3.791, allocations: 341.9 kB / 1.718 GB, free: 29.54 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003513/3.792, allocations: 249.7 kB / 1.718 GB, free: 29.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005014/3.792, allocations: 0.6907 MB / 1.719 GB, free: 28.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004885/3.793, allocations: 385.2 kB / 1.719 GB, free: 28.02 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/3.793, allocations: 7.984 kB / 1.719 GB, free: 28.01 MB / 0.6823 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001675/3.794, allocations: 1.143 MB / 1.721 GB, free: 26.85 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007507/3.795, allocations: 4.123 MB / 1.725 GB, free: 22.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/3.795, allocations: 12 kB / 1.725 GB, free: 22.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003677/3.795, allocations: 136.8 kB / 1.725 GB, free: 22.26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006035/3.796, allocations: 183.6 kB / 1.725 GB, free: 22.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005083/3.797, allocations: 0.7521 MB / 1.726 GB, free: 21.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/3.798, allocations: 107.7 kB / 1.726 GB, free: 21.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-05/3.798, allocations: 51.98 kB / 1.726 GB, free: 21.15 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/3.798, allocations: 4 kB / 1.726 GB, free: 21.14 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001368/3.799, allocations: 1.008 MB / 1.727 GB, free: 20.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/3.799, allocations: 12 kB / 1.727 GB, free: 20.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001996/3.8, allocations: 117.5 kB / 1.727 GB, free: 19.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005402/3.8, allocations: 167.7 kB / 1.727 GB, free: 19.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001705/3.802, allocations: 2.122 MB / 1.729 GB, free: 17.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/3.803, allocations: 95.83 kB / 1.729 GB, free: 17.47 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.895e-05/3.803, allocations: 44 kB / 1.729 GB, free: 17.43 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 1 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001899/3.803, allocations: 168.6 kB / 1.729 GB, free: 17.26 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002705/3.804, allocations: 181.7 kB / 1.73 GB, free: 17.08 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/3.805, allocations: 0.9382 MB / 1.731 GB, free: 16.13 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/3.805, allocations: 4 kB / 1.731 GB, free: 16.12 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/3.805, allocations: 0 / 1.731 GB, free: 16.12 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009619/3.806, allocations: 0.8893 MB / 1.731 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00306/3.809, allocations: 2.136 MB / 1.733 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/3.809, allocations: 4 kB / 1.733 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000421/3.81, allocations: 91.92 kB / 1.734 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000251/3.81, allocations: 112.8 kB / 1.734 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.575e-05/3.81, allocations: 19.77 kB / 1.734 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004021/3.81, allocations: 0.7373 MB / 1.734 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/3.81, allocations: 4.062 kB / 1.734 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/3.812, allocations: 1.312 MB / 1.736 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006241/3.812, allocations: 318.8 kB / 1.736 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002732/3.813, allocations: 12 kB / 1.736 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008925/3.814, allocations: 71.92 kB / 1.736 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/3.814, allocations: 52.33 kB / 1.736 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.093e-05/3.814, allocations: 19.98 kB / 1.736 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001429/3.815, allocations: 1.216 MB / 1.737 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.61e-07/3.815, allocations: 0 / 1.737 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002687/3.818, allocations: 0.8722 MB / 1.738 GB, free: 8.012 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.003153/3.821, allocations: 2.624 MB / 1.741 GB, free: 5.426 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001882/3.823, allocations: 1.418 MB / 1.742 GB, free: 3.973 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/3.823, allocations: 4 kB / 1.742 GB, free: 3.969 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004369/3.824, allocations: 310.3 kB / 1.742 GB, free: 3.668 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003026/3.827, allocations: 0.7389 MB / 1.743 GB, free: 2.941 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004822/3.831, allocations: 2.744 MB / 1.746 GB, free: 140 kB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4104/4.242, allocations: 1.529 MB / 1.747 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.004782/4.247, allocations: 0.8718 MB / 1.748 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001449/4.248, allocations: 0.6202 MB / 1.749 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.152e-06/4.248, allocations: 0 / 1.749 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1196/4.368, allocations: 54.64 MB / 1.802 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002481/4.368, allocations: 206.7 kB / 1.802 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.763/8.131, allocations: 4 kB / 1.802 GB, free: 110.4 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example3.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe 2>&1)