Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 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.PropyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, 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.00173/0.00173, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.43/1.43, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.802/1.802, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.002154/0.002154, allocations: 70.55 kB / 0.6715 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2619, allocations: 114.5 MB / 0.7833 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.003368/0.2653, allocations: 1.424 MB / 0.7847 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004502/0.2698, allocations: 2.872 MB / 0.7875 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.284e-05/0.2699, allocations: 0 / 0.7875 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.615e-05/0.27, allocations: 11.92 kB / 0.7876 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.2701, allocations: 31.81 kB / 0.7876 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005167/0.2706, allocations: 191.1 kB / 0.7878 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.2708, allocations: 243.5 kB / 0.788 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.2709, allocations: 11.98 kB / 0.788 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.49e-05/0.271, allocations: 99.77 kB / 0.7881 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.2711, allocations: 119.8 kB / 0.7882 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.534e-05/0.2712, allocations: 12 kB / 0.7882 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003408/0.2715, allocations: 131.9 kB / 0.7884 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.466e-05/0.2716, allocations: 87.81 kB / 0.7884 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.873e-05/0.2717, allocations: 91.59 kB / 0.7885 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003186/0.272, allocations: 275.5 kB / 0.7888 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.272, allocations: 4 kB / 0.7888 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.042e-06/0.272, allocations: 0 / 0.7888 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.2721, allocations: 0 / 0.7888 GB, free: 7.879 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.0007642/0.2728, allocations: 0.53 MB / 0.7893 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.2729, allocations: 16.02 kB / 0.7893 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.273, allocations: 16.75 kB / 0.7893 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.2732, allocations: 236 kB / 0.7896 GB, free: 7 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.496e-05/0.2733, allocations: 32.36 kB / 0.7896 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/0.2733, allocations: 20.31 kB / 0.7896 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006263/0.2739, allocations: 293 kB / 0.7899 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.274, allocations: 0 / 0.7899 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.274, allocations: 4 kB / 0.7899 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.274, allocations: 4 kB / 0.7899 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.2754, allocations: 0.749 MB / 0.7906 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003289/0.2757, allocations: 313 kB / 0.7909 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001666/0.2774, allocations: 0.6753 MB / 0.7916 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005043/0.2779, allocations: 236.5 kB / 0.7918 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000372/0.2783, allocations: 392.3 kB / 0.7922 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.2784, allocations: 38.5 kB / 0.7922 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=37): time 1.563e-06/0.2784, allocations: 0 / 0.7922 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37): time 0.001637/0.28, allocations: 0.6495 MB / 0.7929 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.2801, allocations: 59.41 kB / 0.7929 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.5e-05/0.2802, allocations: 130.1 kB / 0.793 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.2802, allocations: 29.7 kB / 0.7931 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.355e-05/0.2802, allocations: 88.8 kB / 0.7932 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.826e-05/0.2803, allocations: 126.1 kB / 0.7933 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.528e-05/0.2804, allocations: 69.67 kB / 0.7933 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.807e-05/0.2805, allocations: 326.8 kB / 0.7937 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00048/0.281, allocations: 199.7 kB / 0.7939 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000497/0.2815, allocations: 199.5 kB / 0.794 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008889/0.2824, allocations: 362.2 kB / 0.7944 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2824, allocations: 0 / 0.7944 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001062/0.2835, allocations: 464.6 kB / 0.7948 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.2835, allocations: 12 kB / 0.7948 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.2835, allocations: 0 / 0.7948 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.2836, allocations: 0 / 0.7948 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003604/0.2839, allocations: 91.86 kB / 0.7949 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.2839, allocations: 4 kB / 0.7949 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.2841, allocations: 47.8 kB / 0.795 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.2842, allocations: 15.98 kB / 0.795 GB, free: 1.219 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.0001266/0.2843, allocations: 141.8 kB / 0.7951 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.2844, allocations: 19.75 kB / 0.7951 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/0.2856, allocations: 0.5214 MB / 0.7957 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.2856, allocations: 4 kB / 0.7957 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.2856, allocations: 3.984 kB / 0.7957 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2856, allocations: 0 / 0.7957 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.2859, allocations: 313.3 kB / 0.796 GB, free: 172 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2859, allocations: 0 / 0.796 GB, free: 172 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003392/0.2863, allocations: 103.8 kB / 0.7961 GB, free: 68 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.2863, allocations: 4 kB / 0.7961 GB, free: 64 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/0.2863, allocations: 12 kB / 0.7961 GB, free: 52 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.2863, allocations: 0 / 0.7961 GB, free: 52 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2863, allocations: 7.922 kB / 0.7961 GB, free: 44 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.2875, allocations: 496 kB / 0.7966 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 6.385e-05/0.2875, allocations: 104.8 kB / 0.7967 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.2876, allocations: 8 kB / 0.7967 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.2878, allocations: 35.97 kB / 0.7967 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002219/0.288, allocations: 123.7 kB / 0.7968 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.288, allocations: 12 kB / 0.7968 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.134e-05/0.2881, allocations: 103.2 kB / 0.7969 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2881, allocations: 0 / 0.7969 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003858/0.2885, allocations: 111.9 kB / 0.797 GB, free: 15.03 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.0003304/0.2888, allocations: 191 kB / 0.7972 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00121/0.29, allocations: 0.5621 MB / 0.7978 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.29, allocations: 0 / 0.7978 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000532/0.2906, allocations: 267.4 kB / 0.798 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.291, allocations: 75.92 kB / 0.7981 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007428/0.2917, allocations: 422.6 kB / 0.7985 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.292, allocations: 0.7367 MB / 0.7992 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003964/0.2924, allocations: 179.4 kB / 0.7994 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.252e-05/0.2925, allocations: 39.41 kB / 0.7994 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.2925, allocations: 0 / 0.7994 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of Templates: time 0.008934/0.3014, allocations: 5.271 MB / 0.8046 GB, free: 7.332 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (rm -f Buildings_8_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_8_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_8_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_8_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)