Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Example8,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example8,fileNamePrefix="IDEAS_dev_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.007106/0.007106, allocations: 98.69 kB / 15.73 MB, free: 6.07 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.001689/0.001689, allocations: 192.2 kB / 16.67 MB, free: 5.977 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9098/0.9098, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 67.89 kB / 0.5851 GB, free: 3.816 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.3882, allocations: 80.91 MB / 0.6641 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001471/0.3897, allocations: 0.5034 MB / 0.6646 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001304/0.3898, allocations: 23.55 kB / 0.6647 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.986e-05/0.3899, allocations: 4 kB / 0.6647 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.353e-05/0.3899, allocations: 0 / 0.6647 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001428/0.39, allocations: 5.469 kB / 0.6647 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.739e-06/0.3901, allocations: 0 / 0.6647 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.718e-05/0.3901, allocations: 10.62 kB / 0.6647 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.056e-05/0.3902, allocations: 7.5 kB / 0.6647 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.433e-05/0.3902, allocations: 0 / 0.6647 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.771e-05/0.3902, allocations: 1.469 kB / 0.6647 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.3902, allocations: 0 / 0.6647 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.151e-06/0.3903, allocations: 0 / 0.6647 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.159e-05/0.3903, allocations: 4.953 kB / 0.6647 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.787e-05/0.3903, allocations: 7.938 kB / 0.6647 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 4.547e-05/0.3903, allocations: 5.078 kB / 0.6647 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3903, allocations: 1.062 kB / 0.6647 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3904, allocations: 0 / 0.6647 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.3904, allocations: 0 / 0.6647 GB, free: 6.812 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.0002101/0.3906, allocations: 307.8 kB / 0.665 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.3906, allocations: 9.125 kB / 0.665 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.645e-05/0.3907, allocations: 32.34 kB / 0.665 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.027e-05/0.3907, allocations: 4.938 kB / 0.665 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.868e-05/0.3907, allocations: 168.4 kB / 0.6652 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.3907, allocations: 5.594 kB / 0.6652 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.3908, allocations: 8.062 kB / 0.6652 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.467e-05/0.3909, allocations: 39.45 kB / 0.6653 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.3909, allocations: 0 / 0.6653 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.712e-06/0.3909, allocations: 1.406 kB / 0.6653 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3909, allocations: 0 / 0.6653 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.129e-05/0.3909, allocations: 6.516 kB / 0.6653 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000107/0.391, allocations: 164.6 kB / 0.6654 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.019e-05/0.3911, allocations: 36.88 kB / 0.6655 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.781e-05/0.3911, allocations: 15.06 kB / 0.6655 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.3911, allocations: 1.125 kB / 0.6655 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.3911, allocations: 43.86 kB / 0.6655 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.3911, allocations: 0 / 0.6655 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.00013/0.3913, allocations: 43.77 kB / 0.6656 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.3913, allocations: 77.11 kB / 0.6656 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.469e-05/0.3913, allocations: 91.11 kB / 0.6657 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.761e-06/0.3914, allocations: 25.7 kB / 0.6657 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.476e-06/0.3914, allocations: 80.14 kB / 0.6658 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.3914, allocations: 12.2 kB / 0.6658 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/0.3914, allocations: 24.5 kB / 0.6658 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.117e-05/0.3915, allocations: 310.8 kB / 0.6661 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.085e-05/0.3915, allocations: 2.344 kB / 0.6661 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.171e-05/0.3915, allocations: 11.91 kB / 0.6662 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.927e-05/0.3915, allocations: 18.72 kB / 0.6662 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3915, allocations: 4 kB / 0.6662 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.017e-05/0.3916, allocations: 50.44 kB / 0.6662 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.3916, allocations: 6.438 kB / 0.6662 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3916, allocations: 0 / 0.6662 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3916, allocations: 1.25 kB / 0.6662 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.781e-05/0.3917, allocations: 3.375 kB / 0.6662 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.3917, allocations: 0 / 0.6662 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.633e-05/0.3917, allocations: 1.312 kB / 0.6662 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.3918, allocations: 9.016 kB / 0.6662 GB, free: 5.047 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 4.551e-05/0.3918, allocations: 116.8 kB / 0.6664 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.095e-06/0.3918, allocations: 5.219 kB / 0.6664 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.543e-05/0.3919, allocations: 49.38 kB / 0.6664 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.3919, allocations: 5.328 kB / 0.6664 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3919, allocations: 0 / 0.6664 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3919, allocations: 1.25 kB / 0.6664 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.871e-05/0.392, allocations: 147 kB / 0.6666 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.392, allocations: 9.328 kB / 0.6666 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.044e-05/0.392, allocations: 6.5 kB / 0.6666 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.392, allocations: 1.062 kB / 0.6666 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.3921, allocations: 1.281 kB / 0.6666 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3921, allocations: 1.219 kB / 0.6666 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3921, allocations: 7.984 kB / 0.6666 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.299e-05/0.3921, allocations: 66.58 kB / 0.6666 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.942e-05/0.3922, allocations: 94.2 kB / 0.6667 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.3922, allocations: 1.094 kB / 0.6667 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.331e-05/0.3922, allocations: 1.125 kB / 0.6667 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.161e-05/0.3922, allocations: 1.125 kB / 0.6667 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.3922, allocations: 1.031 kB / 0.6667 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.331e-05/0.3922, allocations: 76.62 kB / 0.6668 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.3922, allocations: 0 / 0.6668 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001743/0.3924, allocations: 1.094 kB / 0.6668 GB, free: 4.395 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.0002199/0.3926, allocations: 0.606 MB / 0.6674 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.436e-05/0.3927, allocations: 18.23 kB / 0.6674 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3927, allocations: 0 / 0.6674 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.797e-06/0.3927, allocations: 4.188 kB / 0.6674 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.3929, allocations: 6.656 kB / 0.6674 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002598/0.3931, allocations: 119.1 kB / 0.6675 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.91e-05/0.3932, allocations: 0.671 MB / 0.6682 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.523e-05/0.3933, allocations: 1.188 kB / 0.6682 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.095e-05/0.3933, allocations: 12.44 kB / 0.6682 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.3933, allocations: 0 / 0.6682 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01669/0.41, allocations: 0.9097 MB / 0.6691 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.136/7.546, allocations: 17.12 kB / 0.6691 GB, free: 2.332 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Examples_Performance_Example8.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1)