Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="BuildingSystems_BuildingSystems_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.001164/0.001164, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001181/0.001181, allocations: 194.7 kB / 16.25 MB, free: 6.617 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.212/1.212, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001915/0.001915, allocations: 282.9 kB / 290.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8688/0.8688, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 87.42 kB / 0.5948 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1258, allocations: 86.98 MB / 0.6797 GB, free: 1.008 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002153/0.1279, allocations: 1.443 MB / 0.6811 GB, free: 15.56 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002818/0.1308, allocations: 2.893 MB / 0.6839 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.478e-05/0.1308, allocations: 0 / 0.6839 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.823e-05/0.1309, allocations: 0 / 0.6839 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.895e-05/0.131, allocations: 39.81 kB / 0.684 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/0.1314, allocations: 171.6 kB / 0.6842 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.1317, allocations: 247.5 kB / 0.6844 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.854e-05/0.1317, allocations: 7.938 kB / 0.6844 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.347e-05/0.1318, allocations: 91.84 kB / 0.6845 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.1319, allocations: 139.7 kB / 0.6846 GB, free: 11.98 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.132, allocations: 8 kB / 0.6846 GB, free: 11.97 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002919/0.1323, allocations: 143.8 kB / 0.6848 GB, free: 11.83 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.696e-05/0.1323, allocations: 87.81 kB / 0.6848 GB, free: 11.74 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.698e-05/0.1324, allocations: 95.58 kB / 0.6849 GB, free: 11.65 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.1327, allocations: 267.3 kB / 0.6852 GB, free: 11.39 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1327, allocations: 3.938 kB / 0.6852 GB, free: 11.38 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1327, allocations: 0 / 0.6852 GB, free: 11.38 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1327, allocations: 0 / 0.6852 GB, free: 11.38 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.0006943/0.1334, allocations: 0.5337 MB / 0.6857 GB, free: 10.8 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.1335, allocations: 12.03 kB / 0.6857 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.471e-05/0.1335, allocations: 58.67 kB / 0.6858 GB, free: 10.72 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.265e-05/0.1336, allocations: 16.75 kB / 0.6858 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.1338, allocations: 229 kB / 0.686 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.127e-05/0.1339, allocations: 32.34 kB / 0.686 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.1339, allocations: 16.38 kB / 0.6861 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005618/0.1345, allocations: 286 kB / 0.6863 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.1345, allocations: 0 / 0.6863 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.1345, allocations: 4 kB / 0.6863 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1345, allocations: 4 kB / 0.6863 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.1358, allocations: 0.7488 MB / 0.6871 GB, free: 9.355 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002993/0.1361, allocations: 313.2 kB / 0.6874 GB, free: 9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.1376, allocations: 0.6907 MB / 0.688 GB, free: 8.297 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004411/0.138, allocations: 228.7 kB / 0.6883 GB, free: 8.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000324/0.1384, allocations: 392.3 kB / 0.6886 GB, free: 7.613 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.1384, allocations: 35.5 kB / 0.6887 GB, free: 7.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 1.282e-06/0.1384, allocations: 0 / 0.6887 GB, free: 7.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.001408/0.1398, allocations: 0.6449 MB / 0.6893 GB, free: 6.918 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.1399, allocations: 55.41 kB / 0.6894 GB, free: 6.852 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.753e-05/0.1399, allocations: 136.3 kB / 0.6895 GB, free: 6.711 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.14, allocations: 33.69 kB / 0.6895 GB, free: 6.672 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.14, allocations: 88.8 kB / 0.6896 GB, free: 6.582 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.511e-05/0.1401, allocations: 126.1 kB / 0.6897 GB, free: 6.457 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.838e-05/0.1402, allocations: 69.67 kB / 0.6898 GB, free: 6.383 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.828e-05/0.1403, allocations: 326.8 kB / 0.6901 GB, free: 6.055 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004175/0.1407, allocations: 195.8 kB / 0.6903 GB, free: 5.863 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004152/0.1411, allocations: 200.8 kB / 0.6905 GB, free: 5.668 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007713/0.1419, allocations: 368.7 kB / 0.6908 GB, free: 5.305 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1419, allocations: 0 / 0.6908 GB, free: 5.305 MB / 494.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009225/0.1429, allocations: 464.6 kB / 0.6913 GB, free: 4.844 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1429, allocations: 10.19 kB / 0.6913 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1429, allocations: 4 kB / 0.6913 GB, free: 4.832 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.1429, allocations: 3.938 kB / 0.6913 GB, free: 4.828 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003097/0.1432, allocations: 87.92 kB / 0.6914 GB, free: 4.742 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.1432, allocations: 4 kB / 0.6914 GB, free: 4.738 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.1434, allocations: 55.64 kB / 0.6914 GB, free: 4.684 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/0.1434, allocations: 19.92 kB / 0.6915 GB, free: 4.664 MB / 494.1 MB 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.000104/0.1435, allocations: 139.1 kB / 0.6916 GB, free: 4.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.11e-05/0.1436, allocations: 19.75 kB / 0.6916 GB, free: 4.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/0.1446, allocations: 0.5158 MB / 0.6921 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1447, allocations: 4 kB / 0.6921 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1447, allocations: 3.984 kB / 0.6921 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1447, allocations: 0 / 0.6921 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.1449, allocations: 313.3 kB / 0.6924 GB, free: 3.617 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1449, allocations: 3.938 kB / 0.6924 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.1452, allocations: 99.84 kB / 0.6925 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1453, allocations: 4 kB / 0.6925 GB, free: 3.512 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.1453, allocations: 12 kB / 0.6925 GB, free: 3.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1453, allocations: 0 / 0.6925 GB, free: 3.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.1453, allocations: 3.984 kB / 0.6925 GB, free: 3.496 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000929/0.1462, allocations: 496.6 kB / 0.693 GB, free: 2.992 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.812e-05/0.1463, allocations: 104.8 kB / 0.6931 GB, free: 2.871 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.1463, allocations: 4 kB / 0.6931 GB, free: 2.867 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.1465, allocations: 35.97 kB / 0.6931 GB, free: 2.832 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/0.1467, allocations: 119.8 kB / 0.6933 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/0.1467, allocations: 12 kB / 0.6933 GB, free: 2.703 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.851e-05/0.1468, allocations: 103.1 kB / 0.6934 GB, free: 2.605 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.713e-06/0.1468, allocations: 4 kB / 0.6934 GB, free: 2.602 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003254/0.1471, allocations: 115.9 kB / 0.6935 GB, free: 2.488 MB / 494.1 MB 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.001377/0.1485, allocations: 1.119 MB / 0.6946 GB, free: 1.34 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001068/0.1496, allocations: 0.5621 MB / 0.6951 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1496, allocations: 0 / 0.6951 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004813/0.1501, allocations: 259.4 kB / 0.6954 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.1504, allocations: 79.92 kB / 0.6954 GB, free: 456 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003531/0.154, allocations: 2.715 MB / 0.6981 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.1542, allocations: 0.7327 MB / 0.6988 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003859/0.1546, allocations: 187.8 kB / 0.699 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.1547, allocations: 67.34 kB / 0.6991 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1547, allocations: 0 / 0.6991 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6658/0.8205, allocations: 7.099 MB / 0.706 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/0.8207, allocations: 215.2 kB / 0.7062 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/2.487, allocations: 2.953 kB / 0.7062 GB, free: 5.555 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)