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.0008465/0.0008465, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005163/0.005163, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.258/1.258, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001661/0.001661, allocations: 270.8 kB / 291.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8788/0.8788, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003912/0.0003912, allocations: 13.56 kB / 0.5988 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1331, allocations: 88.55 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001218/0.1344, allocations: 1.099 MB / 0.6863 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003023/0.1374, allocations: 2.869 MB / 0.6891 GB, free: 11 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.229e-05/0.1374, allocations: 1.625 kB / 0.6891 GB, free: 11 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.02e-05/0.1375, allocations: 11.92 kB / 0.6891 GB, free: 10.98 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.323e-05/0.1376, allocations: 35.88 kB / 0.6891 GB, free: 10.95 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003946/0.138, allocations: 157.6 kB / 0.6893 GB, free: 10.8 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000285/0.1383, allocations: 343.3 kB / 0.6896 GB, free: 10.46 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.233e-05/0.1384, allocations: 4.281 kB / 0.6896 GB, free: 10.46 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.55e-05/0.1384, allocations: 84.58 kB / 0.6897 GB, free: 10.38 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.1386, allocations: 143.6 kB / 0.6898 GB, free: 10.23 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.1386, allocations: 12.86 kB / 0.6899 GB, free: 10.22 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003234/0.139, allocations: 145.3 kB / 0.69 GB, free: 10.08 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.376e-05/0.1391, allocations: 92.33 kB / 0.6901 GB, free: 9.992 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.1392, allocations: 113.3 kB / 0.6902 GB, free: 9.875 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.1395, allocations: 267.9 kB / 0.6905 GB, free: 9.613 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1395, allocations: 4 kB / 0.6905 GB, free: 9.609 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1395, allocations: 0 / 0.6905 GB, free: 9.609 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.177e-06/0.1395, allocations: 0 / 0.6905 GB, free: 9.609 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.0007287/0.1402, allocations: 0.5337 MB / 0.691 GB, free: 9.027 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.1403, allocations: 12.03 kB / 0.691 GB, free: 9.016 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.582e-05/0.1403, allocations: 46.73 kB / 0.691 GB, free: 8.961 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.468e-05/0.1404, allocations: 24.75 kB / 0.6911 GB, free: 8.938 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.1406, allocations: 240.1 kB / 0.6913 GB, free: 8.664 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.989e-05/0.1407, allocations: 24.36 kB / 0.6913 GB, free: 8.641 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.1407, allocations: 12.38 kB / 0.6913 GB, free: 8.629 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006383/0.1414, allocations: 317.9 kB / 0.6916 GB, free: 8.312 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.1414, allocations: 0 / 0.6916 GB, free: 8.312 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.1414, allocations: 4 kB / 0.6916 GB, free: 8.309 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.1414, allocations: 8 kB / 0.6916 GB, free: 8.301 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001455/0.1429, allocations: 0.8113 MB / 0.6924 GB, free: 7.488 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003274/0.1432, allocations: 309.2 kB / 0.6927 GB, free: 7.137 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.145, allocations: 0.7806 MB / 0.6935 GB, free: 6.344 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005417/0.1455, allocations: 260.7 kB / 0.6937 GB, free: 6.086 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003475/0.1459, allocations: 396.3 kB / 0.6941 GB, free: 5.625 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.1459, allocations: 35.5 kB / 0.6941 GB, free: 5.582 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 1.212e-06/0.1459, allocations: 0 / 0.6941 GB, free: 5.582 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.001665/0.1476, allocations: 0.7386 MB / 0.6949 GB, free: 4.836 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.1476, allocations: 55.41 kB / 0.6949 GB, free: 4.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.355e-05/0.1477, allocations: 128.9 kB / 0.695 GB, free: 4.637 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.1478, allocations: 33.7 kB / 0.6951 GB, free: 4.598 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.766e-05/0.1478, allocations: 92.77 kB / 0.6952 GB, free: 4.504 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.568e-05/0.1479, allocations: 118.2 kB / 0.6953 GB, free: 4.387 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.755e-05/0.148, allocations: 37.7 kB / 0.6953 GB, free: 4.344 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.893e-05/0.1481, allocations: 326.8 kB / 0.6956 GB, free: 4.016 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005134/0.1486, allocations: 227.7 kB / 0.6958 GB, free: 3.793 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004978/0.1491, allocations: 228.8 kB / 0.6961 GB, free: 3.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009329/0.15, allocations: 424.9 kB / 0.6965 GB, free: 3.152 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.15, allocations: 0 / 0.6965 GB, free: 3.152 MB / 494.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001101/0.1511, allocations: 0.5237 MB / 0.697 GB, free: 2.621 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.1512, allocations: 5.875 kB / 0.697 GB, free: 2.617 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1512, allocations: 0 / 0.697 GB, free: 2.617 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.1512, allocations: 4 kB / 0.697 GB, free: 2.613 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003611/0.1516, allocations: 107.9 kB / 0.6971 GB, free: 2.508 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1516, allocations: 0 / 0.6971 GB, free: 2.508 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.1518, allocations: 59.8 kB / 0.6971 GB, free: 2.449 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.1518, allocations: 19.98 kB / 0.6972 GB, free: 2.43 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.0001175/0.1519, allocations: 139.1 kB / 0.6973 GB, free: 2.285 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.152, allocations: 23.73 kB / 0.6973 GB, free: 2.262 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/0.1532, allocations: 0.5755 MB / 0.6979 GB, free: 1.684 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.1532, allocations: 4 kB / 0.6979 GB, free: 1.68 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1532, allocations: 0 / 0.6979 GB, free: 1.68 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.1532, allocations: 0 / 0.6979 GB, free: 1.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/0.1535, allocations: 317.1 kB / 0.6982 GB, free: 1.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.1535, allocations: 3.938 kB / 0.6982 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003408/0.1539, allocations: 115.8 kB / 0.6983 GB, free: 1.203 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1539, allocations: 0 / 0.6983 GB, free: 1.203 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.1539, allocations: 15.98 kB / 0.6983 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.1539, allocations: 0 / 0.6983 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1539, allocations: 0 / 0.6983 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.155, allocations: 0.5514 MB / 0.6989 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.565e-05/0.1551, allocations: 100.8 kB / 0.699 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.1551, allocations: 8 kB / 0.699 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.1553, allocations: 51.91 kB / 0.699 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001975/0.1555, allocations: 115.8 kB / 0.6991 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.1556, allocations: 15.98 kB / 0.6991 GB, free: 320 kB / 494.1 MB Notification: Performance of sorting global known variables: time 5.675e-05/0.1556, allocations: 95.27 kB / 0.6992 GB, free: 224 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1556, allocations: 4 kB / 0.6992 GB, free: 220 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003284/0.156, allocations: 119.9 kB / 0.6993 GB, free: 100 kB / 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.001599/0.1576, allocations: 1.181 MB / 0.7005 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001111/0.1587, allocations: 0.523 MB / 0.701 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1587, allocations: 0 / 0.701 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005708/0.1593, allocations: 295.7 kB / 0.7013 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.1597, allocations: 67.92 kB / 0.7014 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004069/0.1638, allocations: 2.885 MB / 0.7042 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.164, allocations: 0.7331 MB / 0.7049 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00039/0.1644, allocations: 186.8 kB / 0.7051 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.1645, allocations: 59.39 kB / 0.7051 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.1645, allocations: 4 kB / 0.7051 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0158/0.1804, allocations: 6.774 MB / 0.7117 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/0.1805, allocations: 232 kB / 0.712 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/1.899, allocations: 3.234 kB / 0.712 GB, free: 3.262 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)