Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.582/1.582, allocations: 287.4 MB / 302.6 MB, free: 8.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 180.7 kB / 371.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.312/1.312, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007329/0.0007329, allocations: 99.39 kB / 0.7431 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004107/0.0004108, allocations: 14.47 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1904, allocations: 115.3 MB / 0.9787 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001301/0.1918, allocations: 1.134 MB / 0.9798 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002405/0.1942, allocations: 2.691 MB / 0.9825 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.185e-05/0.1942, allocations: 0 / 0.9825 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.146e-05/0.1943, allocations: 7.922 kB / 0.9825 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.493e-05/0.1945, allocations: 47.8 kB / 0.9825 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003719/0.1948, allocations: 151.4 kB / 0.9827 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002274/0.1951, allocations: 279.4 kB / 0.9829 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.546e-05/0.1951, allocations: 7.984 kB / 0.9829 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.425e-05/0.1952, allocations: 91.8 kB / 0.983 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.1953, allocations: 139.7 kB / 0.9832 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.1953, allocations: 12 kB / 0.9832 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003236/0.1957, allocations: 155.8 kB / 0.9833 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.819e-05/0.1958, allocations: 87.81 kB / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.1958, allocations: 53.64 kB / 0.9834 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.196, allocations: 187.9 kB / 0.9836 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.196, allocations: 0 / 0.9836 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.774e-06/0.196, allocations: 0 / 0.9836 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.196, allocations: 0 / 0.9836 GB, free: 23.06 MB / 0.6198 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.0006445/0.1967, allocations: 0.5262 MB / 0.9841 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.1967, allocations: 8.031 kB / 0.9841 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.049e-05/0.1968, allocations: 54.67 kB / 0.9842 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.556e-05/0.1969, allocations: 20.73 kB / 0.9842 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.197, allocations: 240 kB / 0.9844 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/0.1971, allocations: 24.36 kB / 0.9845 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.1971, allocations: 16.38 kB / 0.9845 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005591/0.1977, allocations: 324.8 kB / 0.9848 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.1977, allocations: 0 / 0.9848 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.1977, allocations: 4 kB / 0.9848 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1977, allocations: 4 kB / 0.9848 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.199, allocations: 0.8038 MB / 0.9856 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003078/0.1993, allocations: 321 kB / 0.9859 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.2008, allocations: 0.7768 MB / 0.9867 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004549/0.2012, allocations: 252.7 kB / 0.9869 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00028/0.2015, allocations: 396.3 kB / 0.9873 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.2016, allocations: 38.56 kB / 0.9873 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=37): time 1.643e-06/0.2016, allocations: 0 / 0.9873 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37): time 0.001451/0.203, allocations: 0.7366 MB / 0.988 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.123e-05/0.203, allocations: 55.41 kB / 0.9881 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.951e-05/0.2031, allocations: 119 kB / 0.9882 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.2032, allocations: 33.7 kB / 0.9882 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.689e-05/0.2032, allocations: 92.72 kB / 0.9883 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.915e-05/0.2033, allocations: 130.1 kB / 0.9884 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.331e-05/0.2033, allocations: 12 kB / 0.9885 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.284e-05/0.2033, allocations: 326.8 kB / 0.9888 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004369/0.2038, allocations: 219.8 kB / 0.989 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004212/0.2042, allocations: 235.8 kB / 0.9892 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007791/0.205, allocations: 416.9 kB / 0.9896 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.205, allocations: 0 / 0.9896 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000907/0.2059, allocations: 0.5159 MB / 0.9901 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.2059, allocations: 7.938 kB / 0.9901 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.206, allocations: 0 / 0.9901 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.206, allocations: 4 kB / 0.9901 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003283/0.2063, allocations: 111.8 kB / 0.9902 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.2063, allocations: 4 kB / 0.9902 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.2065, allocations: 59.81 kB / 0.9903 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.2065, allocations: 15.98 kB / 0.9903 GB, free: 15.93 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.525e-05/0.2066, allocations: 147 kB / 0.9904 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.2067, allocations: 19.75 kB / 0.9905 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.2077, allocations: 0.5739 MB / 0.991 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2077, allocations: 4 kB / 0.991 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2077, allocations: 4 kB / 0.991 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.2077, allocations: 0 / 0.991 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.208, allocations: 321.3 kB / 0.9913 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.208, allocations: 3.938 kB / 0.9913 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003042/0.2083, allocations: 107.8 kB / 0.9914 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.2083, allocations: 4 kB / 0.9914 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.2083, allocations: 15.98 kB / 0.9915 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.2083, allocations: 0 / 0.9915 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2083, allocations: 0 / 0.9915 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009236/0.2093, allocations: 0.5511 MB / 0.992 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.807e-05/0.2093, allocations: 96.8 kB / 0.9921 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.2093, allocations: 12 kB / 0.9921 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.2095, allocations: 51.95 kB / 0.9921 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001888/0.2097, allocations: 119.8 kB / 0.9923 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.2097, allocations: 15.98 kB / 0.9923 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.644e-05/0.2098, allocations: 96.39 kB / 0.9924 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2098, allocations: 0 / 0.9924 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002995/0.2101, allocations: 111.9 kB / 0.9925 GB, free: 13.59 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001284/0.2114, allocations: 1.174 MB / 0.9936 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009344/0.2123, allocations: 0.5189 MB / 0.9941 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2123, allocations: 0 / 0.9941 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004708/0.2128, allocations: 287.7 kB / 0.9944 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.2132, allocations: 71.88 kB / 0.9945 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/0.2154, allocations: 1.593 MB / 0.996 GB, free: 9.875 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.2156, allocations: 0.7331 MB / 0.9967 GB, free: 9.117 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003837/0.2159, allocations: 183.7 kB / 0.9969 GB, free: 8.945 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.2161, allocations: 67.34 kB / 0.997 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.2161, allocations: 0 / 0.997 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0767/0.2928, allocations: 6.649 MB / 1.003 GB, free: 2.441 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001702/0.293, allocations: 189.1 kB / 1.004 GB, free: 2.207 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.876/2.169, allocations: 0 / 1.004 GB, free: 2.207 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > Buildings_8.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)