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.007925/0.007925, allocations: 101 kB / 15.73 MB, free: 6.445 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.001921/0.001922, allocations: 191.4 kB / 16.67 MB, free: 6.348 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002674/0.002675, allocations: 278.8 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.114/1.114, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002744/0.002744, allocations: 94.45 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1773, allocations: 86.98 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002511/0.1798, allocations: 1.385 MB / 0.7672 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003826/0.1837, allocations: 2.918 MB / 0.7701 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.155e-05/0.1837, allocations: 0 / 0.7701 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.028e-05/0.1838, allocations: 3.984 kB / 0.7701 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.184, allocations: 43.81 kB / 0.7701 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005397/0.1845, allocations: 183.1 kB / 0.7703 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002786/0.1848, allocations: 247.5 kB / 0.7706 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.497e-05/0.1849, allocations: 8.266 kB / 0.7706 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.185, allocations: 91.84 kB / 0.7706 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.1851, allocations: 127.7 kB / 0.7708 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.926e-05/0.1852, allocations: 12 kB / 0.7708 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003517/0.1855, allocations: 135.9 kB / 0.7709 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.654e-05/0.1856, allocations: 83.81 kB / 0.771 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.1858, allocations: 91.59 kB / 0.7711 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003746/0.1861, allocations: 279 kB / 0.7713 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1862, allocations: 4 kB / 0.7713 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1862, allocations: 0 / 0.7713 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.1862, allocations: 0 / 0.7713 GB, free: 3.32 MB / 0.5606 GB 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.0008779/0.1871, allocations: 0.5412 MB / 0.7719 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.1871, allocations: 8.031 kB / 0.7719 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.222e-05/0.1872, allocations: 50.73 kB / 0.7719 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.1873, allocations: 20.83 kB / 0.772 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.1875, allocations: 232.1 kB / 0.7722 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.786e-05/0.1876, allocations: 28.36 kB / 0.7722 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/0.1876, allocations: 16.38 kB / 0.7722 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006175/0.1883, allocations: 293.5 kB / 0.7725 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1883, allocations: 0 / 0.7725 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.1883, allocations: 4 kB / 0.7725 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.1883, allocations: 4 kB / 0.7725 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/0.1898, allocations: 0.7529 MB / 0.7732 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003955/0.1902, allocations: 313.3 kB / 0.7735 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/0.1918, allocations: 0.6753 MB / 0.7742 GB, free: 248 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004857/0.1923, allocations: 233.3 kB / 0.7744 GB, free: 12 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3792/0.5715, allocations: 389.4 kB / 0.7748 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.5716, allocations: 38.64 kB / 0.7748 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=37): time 2.364e-06/0.5716, allocations: 0 / 0.7748 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37): time 0.001692/0.5733, allocations: 0.649 MB / 0.7755 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/0.5733, allocations: 55.59 kB / 0.7755 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.773e-05/0.5734, allocations: 124.8 kB / 0.7756 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.5735, allocations: 31.08 kB / 0.7757 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.671e-05/0.5735, allocations: 91.41 kB / 0.7758 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.125e-05/0.5736, allocations: 133.4 kB / 0.7759 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.321e-05/0.5737, allocations: 63.38 kB / 0.7759 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.224e-05/0.5738, allocations: 334.3 kB / 0.7763 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004482/0.5742, allocations: 193.2 kB / 0.7764 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004433/0.5747, allocations: 197.5 kB / 0.7766 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008306/0.5755, allocations: 365.8 kB / 0.777 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5755, allocations: 0.5 kB / 0.777 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001072/0.5766, allocations: 470 kB / 0.7774 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.5766, allocations: 4.75 kB / 0.7774 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.5766, allocations: 1.219 kB / 0.7774 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.5767, allocations: 3.641 kB / 0.7774 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003623/0.577, allocations: 95.52 kB / 0.7775 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.577, allocations: 3 kB / 0.7775 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.5772, allocations: 53.28 kB / 0.7776 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/0.5772, allocations: 11.75 kB / 0.7776 GB, free: 14.47 MB / 0.5606 GB 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.0001053/0.5774, allocations: 152.7 kB / 0.7777 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.188e-05/0.5774, allocations: 16.53 kB / 0.7778 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/0.5786, allocations: 0.5154 MB / 0.7783 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.5786, allocations: 6.953 kB / 0.7783 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5786, allocations: 0.7812 kB / 0.7783 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.5786, allocations: 2.25 kB / 0.7783 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.5789, allocations: 318.8 kB / 0.7786 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5789, allocations: 0 / 0.7786 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003355/0.5793, allocations: 101.8 kB / 0.7787 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.5793, allocations: 1.5 kB / 0.7787 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.5793, allocations: 15.62 kB / 0.7787 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5793, allocations: 1.406 kB / 0.7787 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.5793, allocations: 0.8906 kB / 0.7787 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.5803, allocations: 0.4995 MB / 0.7792 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.5804, allocations: 93.27 kB / 0.7793 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.065e-05/0.5804, allocations: 10.34 kB / 0.7793 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.5806, allocations: 35.81 kB / 0.7793 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002114/0.5808, allocations: 118.3 kB / 0.7794 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.5809, allocations: 15.47 kB / 0.7794 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.805e-05/0.5809, allocations: 96.8 kB / 0.7795 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5809, allocations: 2.531 kB / 0.7795 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004667/0.5814, allocations: 117.3 kB / 0.7796 GB, free: 13.75 MB / 0.5606 GB 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.001335/0.5827, allocations: 1.128 MB / 0.7807 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001224/0.584, allocations: 470.2 kB / 0.7812 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.584, allocations: 0.9375 kB / 0.7812 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005614/0.5845, allocations: 260.6 kB / 0.7814 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000455/0.585, allocations: 73.56 kB / 0.7815 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003583/0.5886, allocations: 2.683 MB / 0.7841 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.5888, allocations: 0.7313 MB / 0.7848 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004684/0.5893, allocations: 192.8 kB / 0.785 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.5894, allocations: 65.94 kB / 0.7851 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of SimCode: time 7.91e-07/0.5894, allocations: 0 / 0.7851 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03206/0.6215, allocations: 7.448 MB / 0.7924 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.286/8.907, allocations: 10.75 kB / 0.7924 GB, free: 9.988 MB / 0.5606 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)