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.001117/0.001117, 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.001126/0.001126, allocations: 198.6 kB / 16.14 MB, free: 6.66 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.194/1.194, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001919/0.001919, allocations: 286.9 kB / 290.2 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.8555/0.8555, allocations: 169.2 MB / 0.4977 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 99.31 kB / 0.5946 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1182, allocations: 86.97 MB / 0.6795 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001944/0.1201, allocations: 1.443 MB / 0.6809 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002766/0.1229, allocations: 2.911 MB / 0.6838 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.081e-05/0.1229, allocations: 0 / 0.6838 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.467e-05/0.123, allocations: 7.938 kB / 0.6838 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.764e-05/0.1231, allocations: 47.8 kB / 0.6838 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.1235, allocations: 151.4 kB / 0.684 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.1237, allocations: 343.3 kB / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.777e-05/0.1238, allocations: 4.281 kB / 0.6843 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.561e-05/0.1239, allocations: 79.92 kB / 0.6844 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.124, allocations: 143.6 kB / 0.6845 GB, free: 11.95 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.124, allocations: 12 kB / 0.6845 GB, free: 11.94 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000309/0.1243, allocations: 151.7 kB / 0.6847 GB, free: 11.79 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.677e-05/0.1244, allocations: 83.83 kB / 0.6848 GB, free: 11.71 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.431e-05/0.1245, allocations: 95.56 kB / 0.6849 GB, free: 11.62 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.1248, allocations: 263.3 kB / 0.6851 GB, free: 11.36 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1248, allocations: 3.984 kB / 0.6851 GB, free: 11.36 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.1248, allocations: 4 kB / 0.6851 GB, free: 11.35 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.1248, allocations: 0 / 0.6851 GB, free: 11.35 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.0006614/0.1255, allocations: 0.5375 MB / 0.6856 GB, free: 10.77 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.1255, allocations: 8.031 kB / 0.6857 GB, free: 10.76 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/0.1256, allocations: 54.73 kB / 0.6857 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.799e-05/0.1257, allocations: 16.75 kB / 0.6857 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.1259, allocations: 236.1 kB / 0.6859 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.63e-05/0.1259, allocations: 24.36 kB / 0.686 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.126, allocations: 16.38 kB / 0.686 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005657/0.1265, allocations: 293.9 kB / 0.6863 GB, free: 10.08 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.1265, allocations: 0 / 0.6863 GB, free: 10.08 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.1266, allocations: 4 kB / 0.6863 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1266, allocations: 4 kB / 0.6863 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/0.1278, allocations: 0.7527 MB / 0.687 GB, free: 9.316 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003/0.1281, allocations: 309.3 kB / 0.6873 GB, free: 8.965 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.1295, allocations: 0.6713 MB / 0.688 GB, free: 8.281 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004191/0.13, allocations: 228.7 kB / 0.6882 GB, free: 8.055 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003111/0.1303, allocations: 396.3 kB / 0.6886 GB, free: 7.594 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.1303, allocations: 47.44 kB / 0.6886 GB, free: 7.539 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 1.253e-06/0.1303, allocations: 0 / 0.6886 GB, free: 7.539 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.001362/0.1317, allocations: 0.6411 MB / 0.6892 GB, free: 6.891 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.1317, allocations: 59.34 kB / 0.6893 GB, free: 6.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.495e-05/0.1318, allocations: 126.1 kB / 0.6894 GB, free: 6.688 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.1318, allocations: 33.7 kB / 0.6894 GB, free: 6.648 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.623e-05/0.1319, allocations: 96.78 kB / 0.6895 GB, free: 6.551 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.647e-05/0.132, allocations: 122.2 kB / 0.6896 GB, free: 6.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.391e-05/0.1321, allocations: 69.61 kB / 0.6897 GB, free: 6.355 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.523e-05/0.1322, allocations: 326.8 kB / 0.69 GB, free: 6.027 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004197/0.1326, allocations: 199.8 kB / 0.6902 GB, free: 5.832 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004033/0.133, allocations: 192.8 kB / 0.6904 GB, free: 5.645 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007518/0.1337, allocations: 372.6 kB / 0.6907 GB, free: 5.277 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1338, allocations: 0 / 0.6907 GB, free: 5.277 MB / 494.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009128/0.1347, allocations: 460.6 kB / 0.6912 GB, free: 4.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.1347, allocations: 8 kB / 0.6912 GB, free: 4.812 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.1347, allocations: 0 / 0.6912 GB, free: 4.812 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.694e-06/0.1347, allocations: 4 kB / 0.6912 GB, free: 4.809 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/0.135, allocations: 99.84 kB / 0.6913 GB, free: 4.711 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.135, allocations: 4 kB / 0.6913 GB, free: 4.707 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.1352, allocations: 47.7 kB / 0.6913 GB, free: 4.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.1352, allocations: 12 kB / 0.6914 GB, free: 4.648 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.0001029/0.1353, allocations: 147.1 kB / 0.6915 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.905e-05/0.1354, allocations: 19.75 kB / 0.6915 GB, free: 4.477 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.1364, allocations: 0.5227 MB / 0.692 GB, free: 3.953 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.1364, allocations: 4 kB / 0.692 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.1364, allocations: 0 / 0.692 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1364, allocations: 3.984 kB / 0.692 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.1367, allocations: 309.2 kB / 0.6923 GB, free: 3.594 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1367, allocations: 3.938 kB / 0.6923 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002975/0.137, allocations: 99.86 kB / 0.6924 GB, free: 3.492 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.137, allocations: 8 kB / 0.6924 GB, free: 3.484 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.1371, allocations: 11.98 kB / 0.6924 GB, free: 3.473 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.1371, allocations: 0 / 0.6924 GB, free: 3.473 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-07/0.1371, allocations: 0 / 0.6924 GB, free: 3.473 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009091/0.138, allocations: 496.7 kB / 0.6929 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.043e-05/0.138, allocations: 100.8 kB / 0.693 GB, free: 2.852 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.1381, allocations: 7.984 kB / 0.693 GB, free: 2.844 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.1382, allocations: 43.95 kB / 0.6931 GB, free: 2.801 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/0.1384, allocations: 115.8 kB / 0.6932 GB, free: 2.688 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.1384, allocations: 11.98 kB / 0.6932 GB, free: 2.676 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.748e-05/0.1385, allocations: 99.27 kB / 0.6933 GB, free: 2.578 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1385, allocations: 4 kB / 0.6933 GB, free: 2.574 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003062/0.1388, allocations: 115.9 kB / 0.6934 GB, free: 2.461 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.001328/0.1401, allocations: 1.134 MB / 0.6945 GB, free: 1.297 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008792/0.141, allocations: 467.7 kB / 0.6949 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.141, allocations: 0 / 0.6949 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004614/0.1415, allocations: 267.4 kB / 0.6952 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.1419, allocations: 71.92 kB / 0.6953 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/0.1452, allocations: 2.709 MB / 0.6979 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.1455, allocations: 0.7331 MB / 0.6986 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003716/0.1458, allocations: 183.2 kB / 0.6988 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.146, allocations: 63.41 kB / 0.6989 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.146, allocations: 0 / 0.6989 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.531/2.677, allocations: 6.883 MB / 0.7056 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002694/2.678, allocations: 229.7 kB / 0.7058 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.102/4.78, allocations: 0 / 0.7058 GB, free: 5.812 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)