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.001167/0.001167, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001184/0.001184, allocations: 195.9 kB / 16.14 MB, free: 6.656 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.259/1.259, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9378/0.9378, allocations: 135.1 MB / 425.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 67.69 kB / 0.5048 GB, free: 5.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1698, allocations: 80.92 MB / 0.5838 GB, free: 4.926 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.00234/0.1722, allocations: 1.437 MB / 0.5852 GB, free: 3.473 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003042/0.1753, allocations: 2.918 MB / 0.5881 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.141e-05/0.1753, allocations: 0 / 0.5881 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.834e-05/0.1754, allocations: 11.92 kB / 0.5881 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.1756, allocations: 35.81 kB / 0.5881 GB, free: 500 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004469/0.176, allocations: 159.4 kB / 0.5882 GB, free: 340 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002631/0.1763, allocations: 335.4 kB / 0.5886 GB, free: 4 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.669e-05/0.1763, allocations: 0 / 0.5886 GB, free: 4 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.448e-05/0.1764, allocations: 87.86 kB / 0.5887 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.1766, allocations: 139.7 kB / 0.5888 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/0.1766, allocations: 12 kB / 0.5888 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003461/0.177, allocations: 155.7 kB / 0.5889 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.368e-05/0.1771, allocations: 91.75 kB / 0.589 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.425e-05/0.1772, allocations: 87.64 kB / 0.5891 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.1775, allocations: 271.5 kB / 0.5894 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1775, allocations: 0 / 0.5894 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.92e-07/0.1775, allocations: 4 kB / 0.5894 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.1775, allocations: 0 / 0.5894 GB, free: 15.17 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.0007452/0.1783, allocations: 0.53 MB / 0.5899 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.1783, allocations: 12.02 kB / 0.5899 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.949e-05/0.1784, allocations: 42.75 kB / 0.59 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.1785, allocations: 28.73 kB / 0.59 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.1787, allocations: 240 kB / 0.5902 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.085e-05/0.1788, allocations: 24.36 kB / 0.5902 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.415e-05/0.1788, allocations: 12.38 kB / 0.5902 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000574/0.1794, allocations: 289.1 kB / 0.5905 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.1794, allocations: 11.94 kB / 0.5905 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.1794, allocations: 4 kB / 0.5905 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.1794, allocations: 4 kB / 0.5905 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.1808, allocations: 0.7452 MB / 0.5913 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000345/0.1811, allocations: 309 kB / 0.5916 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.1826, allocations: 0.68 MB / 0.5922 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004517/0.183, allocations: 224.7 kB / 0.5924 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003638/0.1834, allocations: 396.3 kB / 0.5928 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.1834, allocations: 38.56 kB / 0.5929 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 3.617e-06/0.1834, allocations: 0 / 0.5929 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.001458/0.1849, allocations: 0.6561 MB / 0.5935 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.185, allocations: 55.41 kB / 0.5935 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.766e-05/0.185, allocations: 122.1 kB / 0.5937 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.1851, allocations: 33.7 kB / 0.5937 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.944e-05/0.1851, allocations: 96.78 kB / 0.5938 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.428e-05/0.1852, allocations: 126.1 kB / 0.5939 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.002e-05/0.1853, allocations: 61.67 kB / 0.594 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1854, allocations: 330.8 kB / 0.5943 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004283/0.1859, allocations: 195.8 kB / 0.5945 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004255/0.1863, allocations: 199.9 kB / 0.5947 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007773/0.1871, allocations: 364.8 kB / 0.595 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1871, allocations: 0 / 0.595 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009496/0.188, allocations: 464.3 kB / 0.5954 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.1881, allocations: 7.984 kB / 0.5955 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1881, allocations: 4 kB / 0.5955 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1881, allocations: 4 kB / 0.5955 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/0.1884, allocations: 95.86 kB / 0.5956 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.1885, allocations: 0 / 0.5956 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.1886, allocations: 47.8 kB / 0.5956 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/0.1887, allocations: 15.98 kB / 0.5956 GB, free: 8.473 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.0001175/0.1888, allocations: 141.8 kB / 0.5958 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.21e-05/0.1888, allocations: 19.75 kB / 0.5958 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.1899, allocations: 0.5211 MB / 0.5963 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1899, allocations: 4 kB / 0.5963 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1899, allocations: 4 kB / 0.5963 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1899, allocations: 3.984 kB / 0.5963 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003016/0.1902, allocations: 313.3 kB / 0.5966 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1903, allocations: 3.938 kB / 0.5966 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000312/0.1906, allocations: 99.84 kB / 0.5967 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1906, allocations: 4 kB / 0.5967 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.1906, allocations: 8 kB / 0.5967 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.1906, allocations: 4 kB / 0.5967 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1906, allocations: 0 / 0.5967 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009874/0.1916, allocations: 0.4887 MB / 0.5972 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.174e-05/0.1917, allocations: 100.8 kB / 0.5973 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.1917, allocations: 7.984 kB / 0.5973 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.1919, allocations: 39.97 kB / 0.5973 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002195/0.1921, allocations: 115.8 kB / 0.5974 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.59e-05/0.1921, allocations: 15.98 kB / 0.5974 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.002e-05/0.1922, allocations: 98.02 kB / 0.5975 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1922, allocations: 0 / 0.5975 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003734/0.1926, allocations: 119.9 kB / 0.5977 GB, free: 6.289 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.001459/0.1941, allocations: 1.127 MB / 0.5988 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009781/0.195, allocations: 467.3 kB / 0.5992 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1951, allocations: 0 / 0.5992 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005002/0.1956, allocations: 263.7 kB / 0.5995 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.196, allocations: 79.8 kB / 0.5995 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003879/0.1999, allocations: 2.71 MB / 0.6022 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.2001, allocations: 0.7292 MB / 0.6029 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004299/0.2006, allocations: 183.9 kB / 0.6031 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.2007, allocations: 63.41 kB / 0.6031 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of SimCode: time 1.673e-06/0.2007, allocations: 0 / 0.6031 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2859/0.4866, allocations: 6.857 MB / 0.6098 GB, free: 52.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002071/0.4869, allocations: 197.5 kB / 0.61 GB, free: 52.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.016/2.503, allocations: 0 / 0.61 GB, free: 52.18 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)