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.005434/0.005434, allocations: 100.5 kB / 15.73 MB, free: 5.977 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.001135/0.001135, allocations: 197.2 kB / 16.67 MB, free: 5.914 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002286/0.002286, allocations: 274.8 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9192/0.9192, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 100.3 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1827, allocations: 86.98 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.003008/0.1858, allocations: 1.379 MB / 0.7672 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003751/0.1896, allocations: 2.914 MB / 0.7701 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.948e-05/0.1896, allocations: 4 kB / 0.7701 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.687e-05/0.1898, allocations: 4 kB / 0.7701 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.1899, allocations: 43.8 kB / 0.7701 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006342/0.1905, allocations: 187.4 kB / 0.7703 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002933/0.1908, allocations: 239.5 kB / 0.7705 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.495e-05/0.1909, allocations: 7.938 kB / 0.7706 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.191, allocations: 99.84 kB / 0.7706 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.1912, allocations: 123.7 kB / 0.7708 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/0.1912, allocations: 12 kB / 0.7708 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004055/0.1916, allocations: 131.9 kB / 0.7709 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.1917, allocations: 87.81 kB / 0.771 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.1919, allocations: 103.6 kB / 0.7711 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000425/0.1923, allocations: 263.3 kB / 0.7713 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1923, allocations: 0 / 0.7713 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1923, allocations: 3.938 kB / 0.7713 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.1923, allocations: 0 / 0.7713 GB, free: 3.328 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.001115/0.1935, allocations: 0.53 MB / 0.7719 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.1935, allocations: 12.03 kB / 0.7719 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.731e-05/0.1936, allocations: 46.73 kB / 0.7719 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.1937, allocations: 16.75 kB / 0.7719 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.1941, allocations: 242.7 kB / 0.7722 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.36e-05/0.1941, allocations: 24.36 kB / 0.7722 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.1942, allocations: 16.38 kB / 0.7722 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006523/0.1948, allocations: 293.4 kB / 0.7725 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.1948, allocations: 0 / 0.7725 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.1949, allocations: 4 kB / 0.7725 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.1949, allocations: 4 kB / 0.7725 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.1963, allocations: 0.7529 MB / 0.7732 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003775/0.1967, allocations: 317.2 kB / 0.7735 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/0.1983, allocations: 0.664 MB / 0.7742 GB, free: 272 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004795/0.1988, allocations: 233.3 kB / 0.7744 GB, free: 36 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3544/0.5532, allocations: 389.5 kB / 0.7748 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.5532, allocations: 36.33 kB / 0.7748 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=37): time 2.655e-06/0.5533, allocations: 0.5312 kB / 0.7748 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37): time 0.001783/0.555, allocations: 0.6515 MB / 0.7754 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.289e-05/0.5551, allocations: 56.47 kB / 0.7755 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.859e-05/0.5552, allocations: 125.2 kB / 0.7756 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.5552, allocations: 30.97 kB / 0.7756 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.574e-05/0.5552, allocations: 90.14 kB / 0.7757 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.46e-05/0.5553, allocations: 122.3 kB / 0.7758 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.166e-05/0.5554, allocations: 67.08 kB / 0.7759 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.201e-05/0.5555, allocations: 327.7 kB / 0.7762 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004751/0.556, allocations: 198.9 kB / 0.7764 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000488/0.5565, allocations: 195.5 kB / 0.7766 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008754/0.5573, allocations: 372.2 kB / 0.777 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5574, allocations: 0 / 0.777 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001054/0.5584, allocations: 464.8 kB / 0.7774 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.5584, allocations: 5.531 kB / 0.7774 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.5584, allocations: 2.062 kB / 0.7774 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.5585, allocations: 1.719 kB / 0.7774 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003722/0.5588, allocations: 94.97 kB / 0.7775 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.5589, allocations: 6.266 kB / 0.7775 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.5591, allocations: 59.81 kB / 0.7776 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/0.5591, allocations: 14.89 kB / 0.7776 GB, free: 14.5 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.0001001/0.5592, allocations: 148.6 kB / 0.7777 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/0.5592, allocations: 15.91 kB / 0.7777 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/0.5604, allocations: 0.5126 MB / 0.7782 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.5604, allocations: 3.891 kB / 0.7782 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.5604, allocations: 2.75 kB / 0.7782 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.5605, allocations: 1.969 kB / 0.7782 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.5607, allocations: 313 kB / 0.7785 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5607, allocations: 0.5156 kB / 0.7785 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003436/0.5611, allocations: 103 kB / 0.7786 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.5611, allocations: 2.25 kB / 0.7786 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.5611, allocations: 8.922 kB / 0.7786 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.5611, allocations: 5.188 kB / 0.7787 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5611, allocations: 2.219 kB / 0.7787 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.5622, allocations: 0.5009 MB / 0.7791 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.342e-05/0.5622, allocations: 94.39 kB / 0.7792 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.424e-05/0.5622, allocations: 6.5 kB / 0.7792 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.5624, allocations: 34.89 kB / 0.7793 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001983/0.5626, allocations: 119.8 kB / 0.7794 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.5627, allocations: 15.38 kB / 0.7794 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.455e-05/0.5627, allocations: 103.2 kB / 0.7795 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5627, allocations: 0 / 0.7795 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003755/0.5631, allocations: 120.3 kB / 0.7796 GB, free: 13.77 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.001374/0.5645, allocations: 1.127 MB / 0.7807 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001042/0.5655, allocations: 469.1 kB / 0.7812 GB, free: 13 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5655, allocations: 1.094 kB / 0.7812 GB, free: 13 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005189/0.5661, allocations: 259.8 kB / 0.7814 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.5664, allocations: 80.77 kB / 0.7815 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00354/0.57, allocations: 2.683 MB / 0.7841 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.5702, allocations: 0.732 MB / 0.7848 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00039/0.5705, allocations: 188.8 kB / 0.785 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.5707, allocations: 60.17 kB / 0.7851 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.5707, allocations: 0 / 0.7851 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0246/0.5953, allocations: 7.41 MB / 0.7923 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.309/7.905, allocations: 10.72 kB / 0.7923 GB, free: 10.05 MB / 0.5606 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)