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.001509/0.001509, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 193.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.185/2.185, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003804/0.003804, allocations: 298.9 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.371/1.371, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 95.59 kB / 0.5953 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1939, allocations: 86.97 MB / 0.6803 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002824/0.1968, allocations: 1.394 MB / 0.6816 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003846/0.2006, allocations: 2.898 MB / 0.6845 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.235e-05/0.2007, allocations: 0 / 0.6845 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.771e-05/0.2008, allocations: 3.938 kB / 0.6845 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.2009, allocations: 43.8 kB / 0.6845 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006348/0.2016, allocations: 195.4 kB / 0.6847 GB, free: 12.02 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.2019, allocations: 235.5 kB / 0.6849 GB, free: 11.79 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.941e-05/0.2019, allocations: 11.92 kB / 0.6849 GB, free: 11.77 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.202, allocations: 91.91 kB / 0.685 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.2022, allocations: 123.7 kB / 0.6851 GB, free: 11.56 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.623e-05/0.2022, allocations: 12 kB / 0.6851 GB, free: 11.55 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004023/0.2027, allocations: 139.9 kB / 0.6853 GB, free: 11.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.503e-05/0.2028, allocations: 87.81 kB / 0.6854 GB, free: 11.33 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.2029, allocations: 87.59 kB / 0.6854 GB, free: 11.24 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003904/0.2033, allocations: 275.3 kB / 0.6857 GB, free: 10.97 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2033, allocations: 0 / 0.6857 GB, free: 10.97 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2033, allocations: 0 / 0.6857 GB, free: 10.97 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.2033, allocations: 0 / 0.6857 GB, free: 10.97 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.0008447/0.2042, allocations: 0.5375 MB / 0.6862 GB, free: 10.39 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/0.2042, allocations: 12.03 kB / 0.6862 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001005/0.2043, allocations: 50.73 kB / 0.6863 GB, free: 10.32 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.2045, allocations: 16.75 kB / 0.6863 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.2047, allocations: 236.1 kB / 0.6865 GB, free: 10.03 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.721e-05/0.2048, allocations: 24.36 kB / 0.6866 GB, free: 10.01 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.2048, allocations: 16.38 kB / 0.6866 GB, free: 9.992 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006487/0.2055, allocations: 289.9 kB / 0.6869 GB, free: 9.703 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.2055, allocations: 0 / 0.6869 GB, free: 9.703 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.2055, allocations: 4 kB / 0.6869 GB, free: 9.699 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.2055, allocations: 7.984 kB / 0.6869 GB, free: 9.691 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001511/0.207, allocations: 0.7488 MB / 0.6876 GB, free: 8.941 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003704/0.2074, allocations: 309.3 kB / 0.6879 GB, free: 8.59 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/0.2092, allocations: 0.6786 MB / 0.6886 GB, free: 7.902 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005349/0.2097, allocations: 228.7 kB / 0.6888 GB, free: 7.676 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000424/0.2102, allocations: 396.3 kB / 0.6891 GB, free: 7.215 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.2102, allocations: 43.44 kB / 0.6892 GB, free: 7.164 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 1.613e-06/0.2102, allocations: 0 / 0.6892 GB, free: 7.164 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.00173/0.212, allocations: 0.6449 MB / 0.6898 GB, free: 6.512 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.212, allocations: 55.41 kB / 0.6899 GB, free: 6.445 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.2121, allocations: 131.7 kB / 0.69 GB, free: 6.309 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.2122, allocations: 29.7 kB / 0.69 GB, free: 6.273 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.123e-05/0.2122, allocations: 92.8 kB / 0.6901 GB, free: 6.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.2124, allocations: 130.1 kB / 0.6902 GB, free: 6.051 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.2125, allocations: 61.69 kB / 0.6903 GB, free: 5.984 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.2126, allocations: 326.8 kB / 0.6906 GB, free: 5.656 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005296/0.2131, allocations: 203.7 kB / 0.6908 GB, free: 5.457 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005204/0.2137, allocations: 200.7 kB / 0.691 GB, free: 5.262 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009499/0.2146, allocations: 372.6 kB / 0.6913 GB, free: 4.895 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2146, allocations: 0 / 0.6913 GB, free: 4.895 MB / 494.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001394/0.216, allocations: 464.6 kB / 0.6918 GB, free: 4.434 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.2161, allocations: 4 kB / 0.6918 GB, free: 4.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2161, allocations: 4 kB / 0.6918 GB, free: 4.426 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.2161, allocations: 0 / 0.6918 GB, free: 4.426 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004523/0.2166, allocations: 95.86 kB / 0.6919 GB, free: 4.332 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.2166, allocations: 7.984 kB / 0.6919 GB, free: 4.324 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.2168, allocations: 43.8 kB / 0.6919 GB, free: 4.281 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/0.2168, allocations: 19.98 kB / 0.692 GB, free: 4.262 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.0001521/0.217, allocations: 143.1 kB / 0.6921 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.974e-05/0.2171, allocations: 23.75 kB / 0.6921 GB, free: 4.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.2184, allocations: 0.5201 MB / 0.6926 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.2185, allocations: 4 kB / 0.6926 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.2185, allocations: 0 / 0.6926 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.2185, allocations: 0 / 0.6926 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004211/0.2189, allocations: 309.2 kB / 0.6929 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.2189, allocations: 3.938 kB / 0.6929 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004037/0.2193, allocations: 103.8 kB / 0.693 GB, free: 3.105 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.2194, allocations: 4 kB / 0.693 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/0.2194, allocations: 11.98 kB / 0.693 GB, free: 3.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.2194, allocations: 0 / 0.693 GB, free: 3.09 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2194, allocations: 0 / 0.693 GB, free: 3.09 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.2206, allocations: 496.7 kB / 0.6935 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.278e-05/0.2207, allocations: 104.8 kB / 0.6936 GB, free: 2.465 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.2208, allocations: 4 kB / 0.6936 GB, free: 2.461 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.221, allocations: 43.95 kB / 0.6937 GB, free: 2.418 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002324/0.2212, allocations: 115.8 kB / 0.6938 GB, free: 2.305 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.2212, allocations: 11.98 kB / 0.6938 GB, free: 2.293 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.276e-05/0.2213, allocations: 106.8 kB / 0.6939 GB, free: 2.191 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.524e-06/0.2213, allocations: 0 / 0.6939 GB, free: 2.191 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005379/0.2218, allocations: 119.9 kB / 0.694 GB, free: 2.074 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.001777/0.2236, allocations: 1.123 MB / 0.6951 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001309/0.225, allocations: 0.5582 MB / 0.6956 GB, free: 372 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.225, allocations: 0 / 0.6956 GB, free: 372 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005683/0.2255, allocations: 267.4 kB / 0.6959 GB, free: 104 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005717/0.2261, allocations: 77.58 kB / 0.696 GB, free: 28 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004658/0.2308, allocations: 2.656 MB / 0.6986 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.2312, allocations: 0.7289 MB / 0.6993 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004322/0.2316, allocations: 184.2 kB / 0.6995 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.2318, allocations: 59.41 kB / 0.6995 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/0.2318, allocations: 0 / 0.6995 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0295/0.2613, allocations: 7.381 MB / 0.7067 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.71, allocations: 17.86 kB / 0.7067 GB, free: 5.117 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)