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.0009466/0.0009466, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.008704/0.008704, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.407/1.407, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9694/0.9694, allocations: 135.3 MB / 426.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003276/0.0003277, allocations: 8 kB / 0.5077 GB, free: 4.703 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1611, allocations: 82.31 MB / 0.5881 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001611/0.1628, allocations: 1.105 MB / 0.5891 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003847/0.1667, allocations: 2.875 MB / 0.592 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.627e-05/0.1667, allocations: 0 / 0.592 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.112e-05/0.1668, allocations: 7.922 kB / 0.592 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.167, allocations: 39.81 kB / 0.592 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006526/0.1676, allocations: 163.3 kB / 0.5922 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003513/0.168, allocations: 331.4 kB / 0.5925 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/0.1681, allocations: 4 kB / 0.5925 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.1682, allocations: 83.86 kB / 0.5926 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.1684, allocations: 139.7 kB / 0.5927 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.518e-05/0.1684, allocations: 12 kB / 0.5927 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004673/0.1689, allocations: 155.8 kB / 0.5928 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.169, allocations: 91.75 kB / 0.5929 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.1692, allocations: 113.3 kB / 0.593 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004385/0.1696, allocations: 271.5 kB / 0.5933 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1696, allocations: 0 / 0.5933 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1696, allocations: 0 / 0.5933 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.1696, allocations: 0 / 0.5933 GB, free: 13.16 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.0008498/0.1705, allocations: 0.5263 MB / 0.5938 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.1706, allocations: 8.031 kB / 0.5938 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.077e-05/0.1706, allocations: 50.73 kB / 0.5939 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.1708, allocations: 16.75 kB / 0.5939 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.171, allocations: 247.9 kB / 0.5941 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.765e-05/0.1711, allocations: 28.3 kB / 0.5942 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.1711, allocations: 16.38 kB / 0.5942 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006804/0.1718, allocations: 321.1 kB / 0.5945 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1718, allocations: 7.938 kB / 0.5945 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.1718, allocations: 4 kB / 0.5945 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1719, allocations: 4 kB / 0.5945 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/0.1733, allocations: 0.8038 MB / 0.5953 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003812/0.1737, allocations: 305.1 kB / 0.5956 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/0.1755, allocations: 0.7777 MB / 0.5963 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005444/0.1761, allocations: 256.7 kB / 0.5966 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004052/0.1765, allocations: 396.3 kB / 0.5969 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.1765, allocations: 42.56 kB / 0.597 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 1.904e-06/0.1765, allocations: 3.938 kB / 0.597 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.001747/0.1783, allocations: 0.7382 MB / 0.5977 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.1783, allocations: 55.41 kB / 0.5978 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.1785, allocations: 126.1 kB / 0.5979 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.1785, allocations: 29.7 kB / 0.5979 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.767e-05/0.1785, allocations: 92.78 kB / 0.598 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.1787, allocations: 126.1 kB / 0.5981 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.268e-05/0.1787, allocations: 33.7 kB / 0.5982 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1788, allocations: 326.8 kB / 0.5985 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000521/0.1794, allocations: 227.8 kB / 0.5987 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005189/0.1799, allocations: 227.9 kB / 0.5989 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009465/0.1808, allocations: 424.8 kB / 0.5993 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1809, allocations: 0 / 0.5993 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001146/0.182, allocations: 0.5198 MB / 0.5998 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.182, allocations: 8 kB / 0.5998 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.182, allocations: 0 / 0.5998 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.1821, allocations: 0 / 0.5998 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003744/0.1824, allocations: 111.9 kB / 0.5999 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.1825, allocations: 0 / 0.5999 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.1827, allocations: 67.7 kB / 0.6 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.1827, allocations: 15.98 kB / 0.6 GB, free: 5.984 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.0001261/0.1828, allocations: 133.8 kB / 0.6001 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.613e-05/0.1829, allocations: 27.73 kB / 0.6002 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/0.1842, allocations: 0.5723 MB / 0.6007 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.1842, allocations: 7.938 kB / 0.6007 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.1842, allocations: 0 / 0.6007 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1842, allocations: 4 kB / 0.6007 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003202/0.1845, allocations: 317.2 kB / 0.601 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1845, allocations: 7.938 kB / 0.601 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003539/0.1849, allocations: 107.8 kB / 0.6011 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.1849, allocations: 4 kB / 0.6011 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.1849, allocations: 11.98 kB / 0.6012 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.185, allocations: 4 kB / 0.6012 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.185, allocations: 0 / 0.6012 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.1861, allocations: 0.5434 MB / 0.6017 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.471e-05/0.1862, allocations: 108.8 kB / 0.6018 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.1862, allocations: 4 kB / 0.6018 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.1864, allocations: 51.97 kB / 0.6019 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002295/0.1867, allocations: 115.8 kB / 0.602 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.647e-05/0.1867, allocations: 15.98 kB / 0.602 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.742e-05/0.1868, allocations: 95.27 kB / 0.6021 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1868, allocations: 0 / 0.6021 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004007/0.1872, allocations: 115.9 kB / 0.6022 GB, free: 3.664 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.0017/0.1889, allocations: 1.182 MB / 0.6033 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001154/0.1901, allocations: 0.511 MB / 0.6038 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1901, allocations: 4 kB / 0.6038 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005883/0.1907, allocations: 291.7 kB / 0.6041 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.1911, allocations: 74.31 kB / 0.6042 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2888/0.4799, allocations: 2.88 MB / 0.607 GB, free: 48.87 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001386/0.4801, allocations: 0.7284 MB / 0.6077 GB, free: 48.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004021/0.4805, allocations: 182.8 kB / 0.6079 GB, free: 48.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.4807, allocations: 65.03 kB / 0.6079 GB, free: 48.18 MB / 0.4981 GB Notification: Performance of SimCode: time 1.082e-06/0.4807, allocations: 0 / 0.6079 GB, free: 48.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4338/0.9145, allocations: 6.762 MB / 0.6145 GB, free: 47.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002116/0.9148, allocations: 201.8 kB / 0.6147 GB, free: 47.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.169/3.084, allocations: 0 / 0.6147 GB, free: 47.5 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)