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.001148/0.001152, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001231/0.001231, allocations: 192.3 kB / 16.25 MB, free: 6.629 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.19/1.19, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001916/0.001916, allocations: 282.3 kB / 290.3 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8546/0.8546, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 89.45 kB / 0.5948 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.12, allocations: 86.98 MB / 0.6797 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.001971/0.122, allocations: 1.44 MB / 0.6811 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002645/0.1246, allocations: 2.885 MB / 0.6839 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.287e-05/0.1247, allocations: 0 / 0.6839 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.146e-05/0.1247, allocations: 3.984 kB / 0.684 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.733e-05/0.1248, allocations: 39.81 kB / 0.684 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004047/0.1252, allocations: 159.6 kB / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.1255, allocations: 251.5 kB / 0.6844 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.099e-05/0.1255, allocations: 11.94 kB / 0.6844 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.057e-05/0.1256, allocations: 91.83 kB / 0.6845 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.1257, allocations: 139.7 kB / 0.6846 GB, free: 11.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.1257, allocations: 12 kB / 0.6846 GB, free: 11.92 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000286/0.126, allocations: 147.7 kB / 0.6848 GB, free: 11.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.367e-05/0.1261, allocations: 83.83 kB / 0.6848 GB, free: 11.69 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.175e-05/0.1262, allocations: 95.56 kB / 0.6849 GB, free: 11.6 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002731/0.1265, allocations: 263.3 kB / 0.6852 GB, free: 11.34 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1265, allocations: 0 / 0.6852 GB, free: 11.34 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1265, allocations: 3.938 kB / 0.6852 GB, free: 11.34 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.1265, allocations: 4 kB / 0.6852 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.0006654/0.1272, allocations: 0.5376 MB / 0.6857 GB, free: 10.75 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.1272, allocations: 8.031 kB / 0.6857 GB, free: 10.74 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.715e-05/0.1273, allocations: 50.73 kB / 0.6858 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.272e-05/0.1274, allocations: 20.75 kB / 0.6858 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.1275, allocations: 236.1 kB / 0.686 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.806e-05/0.1276, allocations: 28.36 kB / 0.6861 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.1276, allocations: 12.38 kB / 0.6861 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005502/0.1282, allocations: 286 kB / 0.6863 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1282, allocations: 7.969 kB / 0.6863 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.1282, allocations: 8 kB / 0.6864 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1282, allocations: 4 kB / 0.6864 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.1295, allocations: 0.7488 MB / 0.6871 GB, free: 9.297 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002967/0.1298, allocations: 305.2 kB / 0.6874 GB, free: 8.949 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.1312, allocations: 0.683 MB / 0.688 GB, free: 8.254 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004276/0.1316, allocations: 224.7 kB / 0.6883 GB, free: 8.031 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003205/0.1319, allocations: 396.3 kB / 0.6886 GB, free: 7.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.132, allocations: 43.48 kB / 0.6887 GB, free: 7.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 1.193e-06/0.132, allocations: 0 / 0.6887 GB, free: 7.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.001381/0.1334, allocations: 0.6488 MB / 0.6893 GB, free: 6.863 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.1334, allocations: 55.41 kB / 0.6894 GB, free: 6.797 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.18e-05/0.1335, allocations: 130.1 kB / 0.6895 GB, free: 6.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.1335, allocations: 29.7 kB / 0.6895 GB, free: 6.625 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.667e-05/0.1336, allocations: 92.8 kB / 0.6896 GB, free: 6.531 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.569e-05/0.1337, allocations: 126.1 kB / 0.6897 GB, free: 6.406 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.215e-05/0.1337, allocations: 61.69 kB / 0.6898 GB, free: 6.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.685e-05/0.1338, allocations: 334.8 kB / 0.6901 GB, free: 6.004 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004149/0.1343, allocations: 187.8 kB / 0.6903 GB, free: 5.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004122/0.1347, allocations: 204.8 kB / 0.6905 GB, free: 5.621 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007638/0.1354, allocations: 360.7 kB / 0.6908 GB, free: 5.266 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1355, allocations: 0 / 0.6908 GB, free: 5.266 MB / 494.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009183/0.1364, allocations: 472.5 kB / 0.6913 GB, free: 4.797 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1364, allocations: 8 kB / 0.6913 GB, free: 4.789 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1364, allocations: 0 / 0.6913 GB, free: 4.789 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.1364, allocations: 3.938 kB / 0.6913 GB, free: 4.785 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/0.1368, allocations: 99.84 kB / 0.6914 GB, free: 4.688 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1368, allocations: 0 / 0.6914 GB, free: 4.688 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.1369, allocations: 51.72 kB / 0.6914 GB, free: 4.637 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.137, allocations: 11.98 kB / 0.6914 GB, free: 4.625 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.000106/0.1371, allocations: 147.1 kB / 0.6916 GB, free: 4.473 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.998e-05/0.1371, allocations: 23.75 kB / 0.6916 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.1382, allocations: 0.5158 MB / 0.6921 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.1382, allocations: 4 kB / 0.6921 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1382, allocations: 0 / 0.6921 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1382, allocations: 0 / 0.6921 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.1385, allocations: 313.3 kB / 0.6924 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1385, allocations: 3.938 kB / 0.6924 GB, free: 3.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003032/0.1388, allocations: 95.84 kB / 0.6925 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1388, allocations: 0 / 0.6925 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.1388, allocations: 23.97 kB / 0.6925 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1388, allocations: 4 kB / 0.6925 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1388, allocations: 0 / 0.6925 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009325/0.1398, allocations: 0.4889 MB / 0.693 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/0.1398, allocations: 100.8 kB / 0.6931 GB, free: 2.824 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/0.1399, allocations: 4 kB / 0.6931 GB, free: 2.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.14, allocations: 35.95 kB / 0.6931 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/0.1402, allocations: 119.8 kB / 0.6933 GB, free: 2.668 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.1403, allocations: 15.98 kB / 0.6933 GB, free: 2.652 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.999e-05/0.1403, allocations: 95.27 kB / 0.6934 GB, free: 2.559 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.372e-06/0.1403, allocations: 0 / 0.6934 GB, free: 2.559 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003301/0.1407, allocations: 123.9 kB / 0.6935 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.001318/0.142, allocations: 1.119 MB / 0.6946 GB, free: 1.289 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.143, allocations: 0.5582 MB / 0.6951 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.143, allocations: 0 / 0.6951 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004592/0.1435, allocations: 263.4 kB / 0.6954 GB, free: 484 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.1438, allocations: 83.69 kB / 0.6954 GB, free: 404 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003413/0.1473, allocations: 2.723 MB / 0.6981 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.1475, allocations: 0.7289 MB / 0.6988 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000363/0.1479, allocations: 182.7 kB / 0.699 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.148, allocations: 71.33 kB / 0.6991 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.148, allocations: 0 / 0.6991 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.472/2.62, allocations: 7.091 MB / 0.706 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/2.62, allocations: 224.4 kB / 0.7062 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.039/4.659, allocations: 3.25 kB / 0.7062 GB, free: 5.504 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)