Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001089, allocations: 104.2 kB / 16.36 MB, free: 6.301 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.00108/0.00108, allocations: 192.5 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.824/1.824, allocations: 292.3 MB / 0.5496 GB, free: 17.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 67.91 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2113, allocations: 114.6 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002499/0.2138, allocations: 1.434 MB / 0.7862 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3249/0.5387, allocations: 2.863 MB / 0.789 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.977e-05/0.5388, allocations: 3.75 kB / 0.789 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 8.096e-05/0.5389, allocations: 5.266 kB / 0.789 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.5391, allocations: 43.44 kB / 0.789 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005997/0.5397, allocations: 185 kB / 0.7892 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002249/0.5399, allocations: 249 kB / 0.7894 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.368e-05/0.5399, allocations: 2.625 kB / 0.7894 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.5401, allocations: 89.5 kB / 0.7895 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.5402, allocations: 126.2 kB / 0.7896 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.5402, allocations: 12.38 kB / 0.7896 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003597/0.5406, allocations: 140.4 kB / 0.7898 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.006e-05/0.5407, allocations: 89.22 kB / 0.7899 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.971e-05/0.5408, allocations: 93.11 kB / 0.79 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003357/0.5411, allocations: 268.5 kB / 0.7902 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.5411, allocations: 0 / 0.7902 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5411, allocations: 0 / 0.7902 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.5412, allocations: 0 / 0.7902 GB, free: 46.47 MB / 0.6544 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.0007296/0.5419, allocations: 0.5305 MB / 0.7907 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.5419, allocations: 10.5 kB / 0.7907 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.542, allocations: 19.25 kB / 0.7908 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.5423, allocations: 239.8 kB / 0.791 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.22e-05/0.5423, allocations: 23.95 kB / 0.791 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.5423, allocations: 19.12 kB / 0.791 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005691/0.5429, allocations: 291.5 kB / 0.7913 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.5429, allocations: 0 / 0.7913 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.543, allocations: 9.5 kB / 0.7913 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.543, allocations: 5.297 kB / 0.7913 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.5443, allocations: 0.7477 MB / 0.792 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002772/0.5445, allocations: 310.4 kB / 0.7923 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.546, allocations: 0.6736 MB / 0.793 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004422/0.5465, allocations: 232 kB / 0.7932 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003208/0.5468, allocations: 390.1 kB / 0.7936 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.5468, allocations: 40.66 kB / 0.7936 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=37): time 1.673e-06/0.5468, allocations: 0 / 0.7936 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=37): time 0.001447/0.5483, allocations: 0.6543 MB / 0.7943 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.098e-05/0.5483, allocations: 59.72 kB / 0.7943 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.847e-05/0.5484, allocations: 125.6 kB / 0.7945 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.5484, allocations: 34.45 kB / 0.7945 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.425e-05/0.5485, allocations: 95.41 kB / 0.7946 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.04e-05/0.5485, allocations: 121.7 kB / 0.7947 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.091e-05/0.5486, allocations: 65.53 kB / 0.7948 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.465e-05/0.5487, allocations: 324.9 kB / 0.7951 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004221/0.5491, allocations: 200.2 kB / 0.7953 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000423/0.5495, allocations: 200.5 kB / 0.7954 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008232/0.5504, allocations: 363.2 kB / 0.7958 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.5504, allocations: 0 / 0.7958 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009665/0.5514, allocations: 468 kB / 0.7962 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.5514, allocations: 9.406 kB / 0.7962 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.5514, allocations: 0.6562 kB / 0.7962 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.5514, allocations: 2.188 kB / 0.7962 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003468/0.5518, allocations: 98.27 kB / 0.7963 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.5518, allocations: 6.75 kB / 0.7963 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.552, allocations: 46.95 kB / 0.7964 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/0.552, allocations: 17.39 kB / 0.7964 GB, free: 44.32 MB / 0.6544 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 8.829e-05/0.5521, allocations: 136.4 kB / 0.7965 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.5521, allocations: 21.03 kB / 0.7966 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.5532, allocations: 0.5168 MB / 0.7971 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.5532, allocations: 5.562 kB / 0.7971 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.5532, allocations: 0 / 0.7971 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.5533, allocations: 4 kB / 0.7971 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002599/0.5535, allocations: 311.3 kB / 0.7974 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5535, allocations: 2.562 kB / 0.7974 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003291/0.5539, allocations: 100.1 kB / 0.7975 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.5539, allocations: 5.312 kB / 0.7975 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.5539, allocations: 8.719 kB / 0.7975 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.5539, allocations: 1.375 kB / 0.7975 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.5539, allocations: 2.484 kB / 0.7975 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.555, allocations: 0.4933 MB / 0.798 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.555, allocations: 104.4 kB / 0.7981 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.5551, allocations: 6.406 kB / 0.7981 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.5552, allocations: 34.33 kB / 0.7981 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002191/0.5555, allocations: 117.7 kB / 0.7982 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.5555, allocations: 13.94 kB / 0.7982 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.277e-05/0.5556, allocations: 106 kB / 0.7983 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5556, allocations: 0 / 0.7983 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003858/0.556, allocations: 113.6 kB / 0.7984 GB, free: 43.66 MB / 0.6544 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.0003241/0.5563, allocations: 186.1 kB / 0.7986 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001132/0.5574, allocations: 475.9 kB / 0.7991 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.5574, allocations: 1.312 kB / 0.7991 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005987/0.558, allocations: 260.9 kB / 0.7993 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004309/0.5585, allocations: 75.19 kB / 0.7994 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007996/0.5593, allocations: 458.4 kB / 0.7998 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.5595, allocations: 0.7432 MB / 0.8006 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.5597, allocations: 47.12 kB / 0.8006 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of SimCode: time 5.71e-07/0.5597, allocations: 1.312 kB / 0.8006 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of Templates: time 0.01101/0.5707, allocations: 4.732 MB / 0.8052 GB, free: 42.29 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (rm -f Buildings_8_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_8_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_8_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_8_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)