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.001223/0.001223, allocations: 109.4 kB / 15.69 MB, free: 128 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.001238/0.001238, allocations: 188 kB / 16.62 MB, free: 6.613 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.405/1.405, allocations: 205.1 MB / 222.5 MB, free: 4.574 MB / 174.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.836/1.836, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001566/0.001566, allocations: 72.14 kB / 0.6722 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2601, allocations: 114.5 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002756/0.2629, allocations: 1.42 MB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004287/0.2672, allocations: 2.869 MB / 0.7883 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.362e-05/0.2673, allocations: 7.938 kB / 0.7883 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.789e-05/0.2674, allocations: 0 / 0.7883 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001442/0.2676, allocations: 43.8 kB / 0.7883 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007757/0.2684, allocations: 187.1 kB / 0.7885 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002856/0.2687, allocations: 243.5 kB / 0.7888 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.795e-05/0.2688, allocations: 4 kB / 0.7888 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.2689, allocations: 95.78 kB / 0.7888 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.2691, allocations: 115.8 kB / 0.789 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.721e-05/0.2691, allocations: 12 kB / 0.789 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004989/0.2696, allocations: 143.8 kB / 0.7891 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.2698, allocations: 87.81 kB / 0.7892 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.2699, allocations: 95.56 kB / 0.7893 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004821/0.2704, allocations: 271.2 kB / 0.7895 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2704, allocations: 0 / 0.7895 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2705, allocations: 7.938 kB / 0.7896 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.2705, allocations: 0 / 0.7896 GB, free: 7.148 MB / 0.6075 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.001074/0.2715, allocations: 0.5324 MB / 0.7901 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.2716, allocations: 12.03 kB / 0.7901 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001666/0.2718, allocations: 16.75 kB / 0.7901 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.2721, allocations: 242.6 kB / 0.7903 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.162e-05/0.2722, allocations: 24.36 kB / 0.7904 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.307e-05/0.2722, allocations: 16.38 kB / 0.7904 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006845/0.2729, allocations: 293.2 kB / 0.7906 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.2729, allocations: 0 / 0.7906 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.2729, allocations: 4 kB / 0.7907 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.587e-06/0.2729, allocations: 4 kB / 0.7907 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001514/0.2745, allocations: 0.7452 MB / 0.7914 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004134/0.2749, allocations: 317 kB / 0.7917 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/0.2766, allocations: 0.6792 MB / 0.7923 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005094/0.2771, allocations: 232.7 kB / 0.7926 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004307/0.2776, allocations: 388.3 kB / 0.7929 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.2776, allocations: 46.48 kB / 0.793 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=37): time 1.553e-06/0.2776, allocations: 0 / 0.793 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37): time 0.001791/0.2794, allocations: 0.6495 MB / 0.7936 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.2795, allocations: 59.41 kB / 0.7937 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.2796, allocations: 126.1 kB / 0.7938 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.2796, allocations: 29.7 kB / 0.7938 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.2797, allocations: 88.8 kB / 0.7939 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.2798, allocations: 134.1 kB / 0.794 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.924e-05/0.2799, allocations: 61.69 kB / 0.7941 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.2801, allocations: 330.8 kB / 0.7944 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005205/0.2806, allocations: 195.8 kB / 0.7946 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004898/0.2811, allocations: 200.8 kB / 0.7948 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009188/0.2821, allocations: 360.9 kB / 0.7951 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.2821, allocations: 8 kB / 0.7951 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00111/0.2832, allocations: 464.5 kB / 0.7956 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.2832, allocations: 8 kB / 0.7956 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.2832, allocations: 3.984 kB / 0.7956 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.2833, allocations: 0 / 0.7956 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000393/0.2837, allocations: 99.84 kB / 0.7957 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.2837, allocations: 4 kB / 0.7957 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.2839, allocations: 43.81 kB / 0.7957 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.94e-05/0.2839, allocations: 11.98 kB / 0.7957 GB, free: 0.4922 MB / 0.6075 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.0001256/0.284, allocations: 146.4 kB / 0.7959 GB, free: 348 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.232e-05/0.2841, allocations: 23.69 kB / 0.7959 GB, free: 324 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/0.2853, allocations: 0.5142 MB / 0.7964 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.2854, allocations: 4 kB / 0.7964 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2854, allocations: 0 / 0.7964 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.2854, allocations: 0 / 0.7964 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003284/0.2857, allocations: 313.3 kB / 0.7967 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2857, allocations: 0 / 0.7967 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/0.2861, allocations: 107.8 kB / 0.7968 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.2861, allocations: 4 kB / 0.7968 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/0.2861, allocations: 7.984 kB / 0.7968 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.2862, allocations: 7.938 kB / 0.7968 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2862, allocations: 0 / 0.7968 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.2873, allocations: 500 kB / 0.7973 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.517e-05/0.2874, allocations: 100.8 kB / 0.7974 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.36e-05/0.2874, allocations: 8 kB / 0.7974 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.2876, allocations: 35.95 kB / 0.7975 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002312/0.2879, allocations: 119.8 kB / 0.7976 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/0.2879, allocations: 11.98 kB / 0.7976 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.341e-05/0.288, allocations: 106.4 kB / 0.7977 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.288, allocations: 0 / 0.7977 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000399/0.2884, allocations: 119.9 kB / 0.7978 GB, free: 14.3 MB / 0.6231 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.0003605/0.2888, allocations: 183.1 kB / 0.798 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001141/0.2899, allocations: 475.6 kB / 0.7984 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2899, allocations: 0 / 0.7984 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005927/0.2905, allocations: 267.4 kB / 0.7987 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004309/0.291, allocations: 75.94 kB / 0.7987 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007803/0.2918, allocations: 426.5 kB / 0.7992 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.2921, allocations: 0.7328 MB / 0.7999 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004106/0.2925, allocations: 187.5 kB / 0.8 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.2926, allocations: 43.41 kB / 0.8001 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of SimCode: time 4.61e-07/0.2926, allocations: 0 / 0.8001 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of Templates: time 0.009535/0.3022, allocations: 5.271 MB / 0.8052 GB, free: 6.691 MB / 0.6231 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)