Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="IDEAS_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="IDEAS_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.001044/0.001044, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00112/0.00112, allocations: 195.2 kB / 16.14 MB, free: 6.707 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.294/1.294, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7347/0.7347, allocations: 132.2 MB / 422.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 56.39 kB / 0.5012 GB, free: 9.129 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1707, allocations: 80.19 MB / 0.5795 GB, free: 9.152 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002419/0.1732, allocations: 1.446 MB / 0.5809 GB, free: 7.695 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003198/0.1764, allocations: 2.933 MB / 0.5838 GB, free: 4.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.194e-05/0.1765, allocations: 0 / 0.5838 GB, free: 4.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.676e-05/0.1766, allocations: 11.92 kB / 0.5838 GB, free: 4.738 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.1767, allocations: 35.81 kB / 0.5838 GB, free: 4.703 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004554/0.1772, allocations: 155.4 kB / 0.584 GB, free: 4.551 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002785/0.1775, allocations: 339.4 kB / 0.5843 GB, free: 4.219 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.863e-05/0.1775, allocations: 4 kB / 0.5843 GB, free: 4.215 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.197e-05/0.1776, allocations: 87.84 kB / 0.5844 GB, free: 4.129 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.1777, allocations: 139.7 kB / 0.5845 GB, free: 3.992 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.316e-05/0.1778, allocations: 12 kB / 0.5845 GB, free: 3.98 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003537/0.1781, allocations: 143.8 kB / 0.5846 GB, free: 3.84 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.816e-05/0.1782, allocations: 91.75 kB / 0.5847 GB, free: 3.75 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.1783, allocations: 91.64 kB / 0.5848 GB, free: 3.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003279/0.1787, allocations: 275.4 kB / 0.5851 GB, free: 3.391 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1787, allocations: 0 / 0.5851 GB, free: 3.391 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.1787, allocations: 0 / 0.5851 GB, free: 3.391 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1787, allocations: 0 / 0.5851 GB, free: 3.391 MB / 494.1 MB 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.0007629/0.1795, allocations: 0.5312 MB / 0.5856 GB, free: 2.812 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.1795, allocations: 8.031 kB / 0.5856 GB, free: 2.805 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.545e-05/0.1796, allocations: 54.73 kB / 0.5857 GB, free: 2.742 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.1797, allocations: 20.69 kB / 0.5857 GB, free: 2.723 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.1799, allocations: 242.6 kB / 0.5859 GB, free: 2.449 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.235e-05/0.18, allocations: 24.36 kB / 0.5859 GB, free: 2.426 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.18, allocations: 16.38 kB / 0.586 GB, free: 2.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006195/0.1806, allocations: 289.1 kB / 0.5862 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.1806, allocations: 3.938 kB / 0.5862 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.1807, allocations: 8 kB / 0.5862 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1807, allocations: 4 kB / 0.5862 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.1821, allocations: 0.7452 MB / 0.587 GB, free: 1.359 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.1824, allocations: 309.2 kB / 0.5873 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.1839, allocations: 0.6728 MB / 0.5879 GB, free: 332 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000445/0.1844, allocations: 237.3 kB / 0.5882 GB, free: 92 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004049/0.1848, allocations: 388 kB / 0.5885 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.1848, allocations: 38.56 kB / 0.5886 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 1.723e-06/0.1848, allocations: 3.938 kB / 0.5886 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.001434/0.1863, allocations: 0.6437 MB / 0.5892 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.1863, allocations: 63.16 kB / 0.5893 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.405e-05/0.1864, allocations: 126.1 kB / 0.5894 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1864, allocations: 29.7 kB / 0.5894 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.1865, allocations: 92.8 kB / 0.5895 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.1866, allocations: 130.1 kB / 0.5896 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.127e-05/0.1867, allocations: 65.69 kB / 0.5897 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1868, allocations: 322.8 kB / 0.59 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004281/0.1872, allocations: 199.8 kB / 0.5902 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004175/0.1877, allocations: 195.9 kB / 0.5904 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008055/0.1885, allocations: 368.8 kB / 0.5907 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1885, allocations: 4 kB / 0.5907 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009454/0.1894, allocations: 460.6 kB / 0.5912 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1895, allocations: 8 kB / 0.5912 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.1895, allocations: 7.984 kB / 0.5912 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.1895, allocations: 0 / 0.5912 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/0.1898, allocations: 99.8 kB / 0.5913 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.1899, allocations: 4 kB / 0.5913 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.19, allocations: 47.8 kB / 0.5913 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/0.1901, allocations: 15.98 kB / 0.5913 GB, free: 12.69 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.0001167/0.1902, allocations: 137.8 kB / 0.5915 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/0.1902, allocations: 23.73 kB / 0.5915 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.1913, allocations: 0.5251 MB / 0.592 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.1913, allocations: 4 kB / 0.592 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.1913, allocations: 0 / 0.592 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1913, allocations: 0 / 0.592 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002993/0.1917, allocations: 313.3 kB / 0.5923 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1917, allocations: 3.938 kB / 0.5923 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003108/0.192, allocations: 103.8 kB / 0.5924 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.192, allocations: 4 kB / 0.5924 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.192, allocations: 11.98 kB / 0.5924 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.192, allocations: 0 / 0.5924 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.192, allocations: 0 / 0.5924 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009716/0.193, allocations: 496.4 kB / 0.5929 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.807e-05/0.1931, allocations: 104.8 kB / 0.593 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/0.1931, allocations: 12 kB / 0.593 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.1933, allocations: 31.97 kB / 0.593 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/0.1935, allocations: 115.8 kB / 0.5931 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.1935, allocations: 15.98 kB / 0.5932 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.696e-05/0.1936, allocations: 98.02 kB / 0.5933 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1936, allocations: 4 kB / 0.5933 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003573/0.1939, allocations: 115.9 kB / 0.5934 GB, free: 10.5 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.00143/0.1954, allocations: 1.119 MB / 0.5945 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009355/0.1963, allocations: 471 kB / 0.5949 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1963, allocations: 0 / 0.5949 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000498/0.1968, allocations: 263.7 kB / 0.5952 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003919/0.1972, allocations: 71.92 kB / 0.5952 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003643/0.2009, allocations: 2.725 MB / 0.5979 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.2012, allocations: 0.7292 MB / 0.5986 GB, free: 5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003965/0.2016, allocations: 178 kB / 0.5988 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.2017, allocations: 63.39 kB / 0.5988 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of SimCode: time 5.51e-07/0.2017, allocations: 0 / 0.5988 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.724/3.926, allocations: 6.848 MB / 0.6055 GB, free: 55.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/3.926, allocations: 193.1 kB / 0.6057 GB, free: 55.15 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.105/9.031, allocations: 0 / 0.6057 GB, free: 55.15 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)