Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.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.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="IDEAS_dev_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="IDEAS_dev_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater",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.001254/0.001254, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 198.9 kB / 16.54 MB, free: 6.672 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9823/0.9823, allocations: 135.1 MB / 425.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 60.19 kB / 0.5054 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.164, allocations: 80.94 MB / 0.5845 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.003011/0.167, allocations: 1.373 MB / 0.5858 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003891/0.1709, allocations: 2.907 MB / 0.5887 GB, free: 140 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.617e-05/0.171, allocations: 0 / 0.5887 GB, free: 140 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.1712, allocations: 11.92 kB / 0.5887 GB, free: 128 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.1713, allocations: 43.8 kB / 0.5887 GB, free: 84 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007748/0.1721, allocations: 179.2 kB / 0.5889 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002927/0.1724, allocations: 239.5 kB / 0.5891 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.838e-05/0.1725, allocations: 8 kB / 0.5891 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.1726, allocations: 87.84 kB / 0.5892 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.1728, allocations: 127.7 kB / 0.5893 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.951e-05/0.1728, allocations: 16 kB / 0.5893 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000451/0.1733, allocations: 143.8 kB / 0.5895 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.1734, allocations: 95.75 kB / 0.5896 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.1735, allocations: 79.66 kB / 0.5896 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004222/0.174, allocations: 275.5 kB / 0.5899 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.174, allocations: 0 / 0.5899 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.174, allocations: 0 / 0.5899 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.174, allocations: 0 / 0.5899 GB, free: 14.86 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.000866/0.1749, allocations: 0.5262 MB / 0.5904 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.1749, allocations: 8.031 kB / 0.5904 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.552e-05/0.175, allocations: 46.73 kB / 0.5905 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.1751, allocations: 20.75 kB / 0.5905 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.1754, allocations: 244 kB / 0.5907 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.642e-05/0.1754, allocations: 24.36 kB / 0.5907 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.358e-05/0.1755, allocations: 16.38 kB / 0.5908 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00065/0.1761, allocations: 293 kB / 0.591 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.1762, allocations: 4 kB / 0.591 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.1762, allocations: 4 kB / 0.591 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.1762, allocations: 4 kB / 0.5911 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.1777, allocations: 0.7491 MB / 0.5918 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.178, allocations: 309 kB / 0.5921 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.1797, allocations: 0.6761 MB / 0.5927 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005143/0.1802, allocations: 236.6 kB / 0.593 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004128/0.1806, allocations: 392.3 kB / 0.5933 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.1807, allocations: 38.56 kB / 0.5934 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 1.643e-06/0.1807, allocations: 0 / 0.5934 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.001623/0.1823, allocations: 0.6561 MB / 0.594 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.1824, allocations: 55.41 kB / 0.5941 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.1825, allocations: 137.1 kB / 0.5942 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.1825, allocations: 29.7 kB / 0.5942 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/0.1826, allocations: 92.8 kB / 0.5943 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.97e-05/0.1827, allocations: 118.2 kB / 0.5944 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.1828, allocations: 69.67 kB / 0.5945 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.1829, allocations: 326.8 kB / 0.5948 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000475/0.1834, allocations: 195.7 kB / 0.595 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004789/0.1839, allocations: 203.9 kB / 0.5952 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009027/0.1848, allocations: 360.9 kB / 0.5955 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1848, allocations: 0 / 0.5955 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001078/0.1859, allocations: 472.3 kB / 0.596 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.1859, allocations: 4 kB / 0.596 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.1859, allocations: 4 kB / 0.596 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.186, allocations: 0 / 0.596 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003709/0.1863, allocations: 95.86 kB / 0.5961 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.1864, allocations: 4 kB / 0.5961 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.1866, allocations: 47.8 kB / 0.5961 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-05/0.1866, allocations: 15.98 kB / 0.5961 GB, free: 8.152 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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 0.0001335/0.1867, allocations: 137.8 kB / 0.5963 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.573e-05/0.1868, allocations: 19.75 kB / 0.5963 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/0.188, allocations: 0.5122 MB / 0.5968 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.188, allocations: 4 kB / 0.5968 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.188, allocations: 11.98 kB / 0.5968 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.188, allocations: 3.938 kB / 0.5968 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003253/0.1883, allocations: 313.3 kB / 0.5971 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.1884, allocations: 3.938 kB / 0.5971 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003363/0.1887, allocations: 103.8 kB / 0.5972 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1887, allocations: 0 / 0.5972 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.1887, allocations: 8 kB / 0.5972 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1887, allocations: 4 kB / 0.5972 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1888, allocations: 3.984 kB / 0.5972 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.1899, allocations: 0.4887 MB / 0.5977 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.983e-05/0.1899, allocations: 104.8 kB / 0.5978 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.705e-05/0.19, allocations: 8 kB / 0.5978 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.1902, allocations: 31.97 kB / 0.5978 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002379/0.1904, allocations: 123.7 kB / 0.598 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-05/0.1904, allocations: 12 kB / 0.598 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.605e-05/0.1905, allocations: 103.2 kB / 0.5981 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.71e-07/0.1905, allocations: 0 / 0.5981 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003835/0.1909, allocations: 111.9 kB / 0.5982 GB, free: 5.969 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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.00165/0.1926, allocations: 1.119 MB / 0.5993 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001198/0.1938, allocations: 0.55 MB / 0.5998 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1938, allocations: 0 / 0.5998 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005397/0.1943, allocations: 259.7 kB / 0.6001 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.1947, allocations: 78.11 kB / 0.6001 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00412/0.1989, allocations: 2.668 MB / 0.6027 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.1992, allocations: 0.7328 MB / 0.6035 GB, free: 436 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000414/0.1996, allocations: 180.5 kB / 0.6036 GB, free: 276 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.1997, allocations: 67.34 kB / 0.6037 GB, free: 208 kB / 0.4981 GB Notification: Performance of SimCode: time 3.9e-07/0.1997, allocations: 0 / 0.6037 GB, free: 208 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2715/0.4713, allocations: 7.347 MB / 0.6109 GB, free: 52.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.409/7.88, allocations: 12.86 kB / 0.6109 GB, free: 52.63 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)