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.001373/0.001373, 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.001482/0.001482, allocations: 192 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.429/1.429, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.761/1.761, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001491/0.001491, allocations: 70.36 kB / 0.6715 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2465, allocations: 114.5 MB / 0.7834 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002669/0.2492, allocations: 1.415 MB / 0.7847 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003686/0.2529, allocations: 2.872 MB / 0.7875 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.36e-05/0.253, allocations: 0 / 0.7875 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.2532, allocations: 11.92 kB / 0.7876 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.2533, allocations: 35.81 kB / 0.7876 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007233/0.254, allocations: 191.1 kB / 0.7878 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002429/0.2543, allocations: 235.5 kB / 0.788 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.644e-05/0.2544, allocations: 8 kB / 0.788 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.239e-05/0.2545, allocations: 99.78 kB / 0.7881 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.2546, allocations: 123.8 kB / 0.7882 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.398e-05/0.2546, allocations: 8 kB / 0.7882 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003586/0.255, allocations: 135.9 kB / 0.7884 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.367e-05/0.2551, allocations: 87.81 kB / 0.7884 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.2552, allocations: 91.58 kB / 0.7885 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003524/0.2556, allocations: 275.5 kB / 0.7888 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.2556, allocations: 4 kB / 0.7888 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2556, allocations: 0 / 0.7888 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.2556, allocations: 0 / 0.7888 GB, free: 7.906 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.000889/0.2565, allocations: 0.53 MB / 0.7893 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.2566, allocations: 8.031 kB / 0.7893 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.2567, allocations: 24.75 kB / 0.7893 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.257, allocations: 240 kB / 0.7896 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.555e-05/0.257, allocations: 24.36 kB / 0.7896 GB, free: 7 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.2571, allocations: 12.38 kB / 0.7896 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006225/0.2577, allocations: 297 kB / 0.7899 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2577, allocations: 7.938 kB / 0.7899 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.2577, allocations: 4 kB / 0.7899 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.2578, allocations: 4 kB / 0.7899 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.2592, allocations: 0.7452 MB / 0.7906 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003471/0.2596, allocations: 321 kB / 0.7909 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.2612, allocations: 0.687 MB / 0.7916 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004959/0.2617, allocations: 220.7 kB / 0.7918 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003856/0.2621, allocations: 392.3 kB / 0.7922 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.2621, allocations: 42.5 kB / 0.7922 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=37): time 1.813e-06/0.2621, allocations: 0 / 0.7922 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37): time 0.001609/0.2638, allocations: 0.6495 MB / 0.7929 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.2638, allocations: 63.33 kB / 0.7929 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.2639, allocations: 125.5 kB / 0.793 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.2639, allocations: 33.7 kB / 0.7931 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.199e-05/0.264, allocations: 92.78 kB / 0.7932 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.2641, allocations: 126.1 kB / 0.7933 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.2642, allocations: 65.67 kB / 0.7934 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.2644, allocations: 330.8 kB / 0.7937 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004817/0.2649, allocations: 191.8 kB / 0.7939 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004842/0.2654, allocations: 203.5 kB / 0.794 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000881/0.2662, allocations: 358.2 kB / 0.7944 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2663, allocations: 0 / 0.7944 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001072/0.2673, allocations: 468.5 kB / 0.7948 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.2674, allocations: 8 kB / 0.7948 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2674, allocations: 0 / 0.7948 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.2674, allocations: 0 / 0.7948 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003613/0.2678, allocations: 103.8 kB / 0.7949 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2678, allocations: 0 / 0.7949 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.268, allocations: 47.8 kB / 0.795 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.268, allocations: 8 kB / 0.795 GB, free: 1.246 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.0001291/0.2681, allocations: 149.8 kB / 0.7951 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-05/0.2682, allocations: 19.75 kB / 0.7952 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.2694, allocations: 0.518 MB / 0.7957 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.2694, allocations: 0 / 0.7957 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2694, allocations: 4 kB / 0.7957 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.2694, allocations: 3.984 kB / 0.7957 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003042/0.2697, allocations: 313.3 kB / 0.796 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2697, allocations: 0 / 0.796 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003239/0.2701, allocations: 99.8 kB / 0.7961 GB, free: 92 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.2701, allocations: 4 kB / 0.7961 GB, free: 88 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.2701, allocations: 19.86 kB / 0.7961 GB, free: 68 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.2701, allocations: 4 kB / 0.7961 GB, free: 64 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2701, allocations: 0 / 0.7961 GB, free: 64 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.2712, allocations: 500 kB / 0.7966 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 6.035e-05/0.2713, allocations: 100.8 kB / 0.7967 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.2713, allocations: 4 kB / 0.7967 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.2715, allocations: 39.95 kB / 0.7967 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002279/0.2718, allocations: 123.8 kB / 0.7968 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.2718, allocations: 8 kB / 0.7968 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.487e-05/0.2719, allocations: 99.25 kB / 0.7969 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2719, allocations: 0 / 0.7969 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004103/0.2723, allocations: 115.9 kB / 0.797 GB, free: 15.05 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.0003587/0.2726, allocations: 187.1 kB / 0.7972 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001292/0.2739, allocations: 0.5582 MB / 0.7978 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.274, allocations: 0 / 0.7978 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005794/0.2745, allocations: 263.4 kB / 0.798 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.275, allocations: 83.91 kB / 0.7981 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008599/0.2759, allocations: 426.5 kB / 0.7985 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.2762, allocations: 0.7367 MB / 0.7992 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004059/0.2767, allocations: 187.6 kB / 0.7994 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.624e-05/0.2768, allocations: 39.42 kB / 0.7994 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of SimCode: time 3.3e-07/0.2768, allocations: 0 / 0.7994 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of Templates: time 0.008997/0.2858, allocations: 5.272 MB / 0.8046 GB, free: 7.344 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)