Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.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.PropyleneGlycolWater,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_PropyleneGlycolWater",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.0009964/0.0009964, 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.0009979/0.0009979, allocations: 196.7 kB / 16.14 MB, free: 6.715 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.199/1.199, 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/NcDataReader2 2.5.1-master/package.mo): time 0.001906/0.001906, allocations: 272.2 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8278/0.8278, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 99.95 kB / 0.5946 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1213, allocations: 86.98 MB / 0.6795 GB, free: 1.055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002333/0.1237, allocations: 1.437 MB / 0.6809 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004011/0.1277, allocations: 2.909 MB / 0.6838 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.673e-05/0.1277, allocations: 0 / 0.6838 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.717e-05/0.1278, allocations: 7.922 kB / 0.6838 GB, free: 12.69 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.128, allocations: 43.81 kB / 0.6838 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005072/0.1285, allocations: 159.3 kB / 0.684 GB, free: 12.49 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003631/0.1289, allocations: 335.3 kB / 0.6843 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.148e-05/0.1289, allocations: 4.281 kB / 0.6843 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.129, allocations: 87.86 kB / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.1292, allocations: 143.7 kB / 0.6845 GB, free: 11.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.661e-05/0.1292, allocations: 8 kB / 0.6845 GB, free: 11.92 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004058/0.1296, allocations: 151.8 kB / 0.6847 GB, free: 11.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.1298, allocations: 87.81 kB / 0.6848 GB, free: 11.69 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.1299, allocations: 91.58 kB / 0.6848 GB, free: 11.6 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004171/0.1303, allocations: 271.2 kB / 0.6851 GB, free: 11.33 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1303, allocations: 0 / 0.6851 GB, free: 11.33 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1303, allocations: 0 / 0.6851 GB, free: 11.33 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.1304, allocations: 0 / 0.6851 GB, free: 11.33 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.0009667/0.1313, allocations: 0.5415 MB / 0.6856 GB, free: 10.74 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.1314, allocations: 12.03 kB / 0.6856 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.423e-05/0.1314, allocations: 46.73 kB / 0.6857 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.1316, allocations: 16.75 kB / 0.6857 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.1319, allocations: 240.1 kB / 0.6859 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.052e-05/0.132, allocations: 24.36 kB / 0.686 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.076e-05/0.132, allocations: 16.31 kB / 0.686 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000795/0.1328, allocations: 286 kB / 0.6862 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.1329, allocations: 3.938 kB / 0.6863 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/0.1329, allocations: 7.984 kB / 0.6863 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1329, allocations: 4 kB / 0.6863 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001804/0.1347, allocations: 0.7527 MB / 0.687 GB, free: 9.293 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004431/0.1352, allocations: 309.2 kB / 0.6873 GB, free: 8.941 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002069/0.1372, allocations: 0.6752 MB / 0.688 GB, free: 8.254 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000634/0.1379, allocations: 232.7 kB / 0.6882 GB, free: 8.023 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004434/0.1383, allocations: 392.3 kB / 0.6885 GB, free: 7.566 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.1384, allocations: 43.48 kB / 0.6886 GB, free: 7.516 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 1.704e-06/0.1384, allocations: 3.938 kB / 0.6886 GB, free: 7.512 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.002058/0.1405, allocations: 0.645 MB / 0.6892 GB, free: 6.859 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.1405, allocations: 55.41 kB / 0.6893 GB, free: 6.793 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.1406, allocations: 128.9 kB / 0.6894 GB, free: 6.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.241e-05/0.1407, allocations: 33.7 kB / 0.6894 GB, free: 6.621 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.382e-05/0.1407, allocations: 84.8 kB / 0.6895 GB, free: 6.535 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.1408, allocations: 126.2 kB / 0.6896 GB, free: 6.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.141, allocations: 65.69 kB / 0.6897 GB, free: 6.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1411, allocations: 334.8 kB / 0.69 GB, free: 6.004 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006081/0.1417, allocations: 187.8 kB / 0.6902 GB, free: 5.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006102/0.1423, allocations: 204.8 kB / 0.6904 GB, free: 5.621 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.1435, allocations: 368.6 kB / 0.6907 GB, free: 5.258 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.1435, allocations: 4 kB / 0.6907 GB, free: 5.254 MB / 494.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001328/0.1449, allocations: 468.6 kB / 0.6912 GB, free: 4.789 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1449, allocations: 4 kB / 0.6912 GB, free: 4.785 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.1449, allocations: 0 / 0.6912 GB, free: 4.785 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.1449, allocations: 4 kB / 0.6912 GB, free: 4.781 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004946/0.1454, allocations: 95.86 kB / 0.6913 GB, free: 4.688 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.1455, allocations: 3.984 kB / 0.6913 GB, free: 4.684 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/0.1457, allocations: 51.72 kB / 0.6913 GB, free: 4.633 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.1457, allocations: 11.98 kB / 0.6914 GB, free: 4.621 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.0001501/0.1459, allocations: 143.1 kB / 0.6915 GB, free: 4.473 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.165e-05/0.146, allocations: 19.75 kB / 0.6915 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/0.1474, allocations: 0.5206 MB / 0.692 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1474, allocations: 4 kB / 0.692 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1474, allocations: 0 / 0.692 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1474, allocations: 0 / 0.692 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/0.1477, allocations: 313.2 kB / 0.6923 GB, free: 3.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1478, allocations: 3.938 kB / 0.6923 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003142/0.1481, allocations: 103.8 kB / 0.6924 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.1481, allocations: 4 kB / 0.6924 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.1481, allocations: 15.92 kB / 0.6924 GB, free: 3.445 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1481, allocations: 0 / 0.6924 GB, free: 3.445 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1481, allocations: 0 / 0.6924 GB, free: 3.445 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009245/0.1491, allocations: 0.4928 MB / 0.6929 GB, free: 2.934 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.565e-05/0.1491, allocations: 96.8 kB / 0.693 GB, free: 2.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.358e-05/0.1491, allocations: 8 kB / 0.693 GB, free: 2.812 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.1493, allocations: 35.95 kB / 0.6931 GB, free: 2.777 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/0.1495, allocations: 115.8 kB / 0.6932 GB, free: 2.664 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.1495, allocations: 12 kB / 0.6932 GB, free: 2.652 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.432e-05/0.1496, allocations: 103.2 kB / 0.6933 GB, free: 2.551 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1496, allocations: 4 kB / 0.6933 GB, free: 2.547 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003381/0.1499, allocations: 111.9 kB / 0.6934 GB, free: 2.438 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.001376/0.1513, allocations: 1.123 MB / 0.6945 GB, free: 1.285 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009041/0.1522, allocations: 471.6 kB / 0.6949 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1522, allocations: 4 kB / 0.6949 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004695/0.1527, allocations: 263.4 kB / 0.6952 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.1531, allocations: 67.94 kB / 0.6953 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003481/0.1566, allocations: 2.709 MB / 0.6979 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.1568, allocations: 0.737 MB / 0.6986 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003891/0.1572, allocations: 191 kB / 0.6988 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.1573, allocations: 67.39 kB / 0.6989 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.1573, allocations: 4 kB / 0.6989 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6204/0.7778, allocations: 6.877 MB / 0.7056 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002229/0.778, allocations: 227.6 kB / 0.7058 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/2.582, allocations: 4 kB / 0.7058 GB, free: 5.789 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)