Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example8.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Example8,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example8,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example8",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.005076/0.005076, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001249/0.001249, allocations: 199.8 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.765/0.765, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 63.17 kB / 0.5809 GB, free: 1.129 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.187, allocations: 80.2 MB / 0.6592 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001523/0.1885, allocations: 0.5047 MB / 0.6597 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001294/0.1887, allocations: 23.92 kB / 0.6597 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.363e-05/0.1887, allocations: 0 / 0.6597 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.187e-05/0.1887, allocations: 0 / 0.6597 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.1889, allocations: 7.984 kB / 0.6597 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.627e-06/0.1889, allocations: 0 / 0.6597 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.561e-05/0.1889, allocations: 7.875 kB / 0.6597 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.098e-05/0.189, allocations: 0 / 0.6597 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.496e-05/0.189, allocations: 4 kB / 0.6597 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.565e-05/0.189, allocations: 7.922 kB / 0.6597 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.1891, allocations: 0 / 0.6597 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.879e-06/0.1891, allocations: 0 / 0.6597 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.929e-06/0.1891, allocations: 4 kB / 0.6597 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.241e-05/0.1891, allocations: 0 / 0.6597 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 4.444e-05/0.1892, allocations: 9.344 kB / 0.6597 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1892, allocations: 0 / 0.6597 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1892, allocations: 0 / 0.6597 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.1892, allocations: 0 / 0.6597 GB, free: 13.45 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000251/0.1894, allocations: 315.6 kB / 0.66 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.1895, allocations: 8.031 kB / 0.66 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.026e-05/0.1895, allocations: 30.75 kB / 0.6601 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.395e-05/0.1895, allocations: 0.9375 kB / 0.6601 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.823e-05/0.1896, allocations: 164.7 kB / 0.6602 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.1896, allocations: 4.375 kB / 0.6602 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.457e-06/0.1897, allocations: 8.062 kB / 0.6602 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.338e-05/0.1898, allocations: 47.41 kB / 0.6603 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.1898, allocations: 0 / 0.6603 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.1898, allocations: 0 / 0.6603 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1898, allocations: 0 / 0.6603 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.183e-05/0.1898, allocations: 4 kB / 0.6603 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001417/0.19, allocations: 166.4 kB / 0.6604 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.422e-05/0.19, allocations: 33.22 kB / 0.6605 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.428e-05/0.1901, allocations: 17.78 kB / 0.6605 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.1901, allocations: 4 kB / 0.6605 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.1901, allocations: 38.84 kB / 0.6605 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.021e-06/0.1901, allocations: 0 / 0.6605 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001317/0.1903, allocations: 41.69 kB / 0.6606 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.1903, allocations: 85.05 kB / 0.6607 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.098e-05/0.1903, allocations: 89.86 kB / 0.6607 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.1904, allocations: 25.7 kB / 0.6608 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.237e-05/0.1904, allocations: 80.14 kB / 0.6608 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.1904, allocations: 4.203 kB / 0.6608 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/0.1905, allocations: 17.72 kB / 0.6609 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1906, allocations: 318.8 kB / 0.6612 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.287e-05/0.1906, allocations: 4 kB / 0.6612 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.256e-05/0.1906, allocations: 9.719 kB / 0.6612 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.444e-05/0.1906, allocations: 17.72 kB / 0.6612 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1907, allocations: 4.062 kB / 0.6612 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.213e-05/0.1907, allocations: 49.56 kB / 0.6612 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.1907, allocations: 7.938 kB / 0.6613 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1907, allocations: 0 / 0.6613 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1908, allocations: 11.94 kB / 0.6613 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.226e-05/0.1908, allocations: 0 / 0.6613 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.1908, allocations: 4 kB / 0.6613 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.728e-05/0.1909, allocations: 0 / 0.6613 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.1909, allocations: 0 / 0.6613 GB, free: 11.6 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.241e-05/0.191, allocations: 118.5 kB / 0.6614 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.198e-05/0.191, allocations: 11.89 kB / 0.6614 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.622e-05/0.1911, allocations: 48.75 kB / 0.6614 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1911, allocations: 3.984 kB / 0.6614 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1911, allocations: 3.984 kB / 0.6614 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/0.1911, allocations: 0 / 0.6614 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.841e-05/0.1912, allocations: 153.7 kB / 0.6616 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1912, allocations: 8 kB / 0.6616 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.34e-05/0.1912, allocations: 4 kB / 0.6616 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1913, allocations: 0 / 0.6616 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.1913, allocations: 3.984 kB / 0.6616 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1913, allocations: 4 kB / 0.6616 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1913, allocations: 0 / 0.6616 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.936e-05/0.1913, allocations: 62 kB / 0.6617 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.352e-05/0.1914, allocations: 85.08 kB / 0.6618 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.1914, allocations: 11.92 kB / 0.6618 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.473e-05/0.1914, allocations: 0 / 0.6618 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.022e-05/0.1915, allocations: 0 / 0.6618 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-06/0.1915, allocations: 0 / 0.6618 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.573e-05/0.1915, allocations: 77.56 kB / 0.6618 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1915, allocations: 0 / 0.6618 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001848/0.1917, allocations: 8 kB / 0.6618 GB, free: 10.9 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003244/0.192, allocations: 0.6016 MB / 0.6624 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.034e-05/0.1921, allocations: 7.938 kB / 0.6624 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1921, allocations: 0 / 0.6624 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.091e-05/0.1921, allocations: 8.156 kB / 0.6624 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.1923, allocations: 12.11 kB / 0.6625 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002818/0.1925, allocations: 115.4 kB / 0.6626 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.1928, allocations: 0.6729 MB / 0.6632 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.957e-05/0.1928, allocations: 7.938 kB / 0.6632 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.371e-05/0.1928, allocations: 7.438 kB / 0.6632 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1928, allocations: 0 / 0.6632 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1544/0.3472, allocations: 0.916 MB / 0.6641 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.885/8.232, allocations: 8.766 kB / 0.6641 GB, free: 8.535 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example8.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Examples.Performance.Example8_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 IDEAS_IDEAS_Fluid_Examples_Performance_Example8.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1)