Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.676/1.676, allocations: 292.3 MB / 308.1 MB, free: 4.258 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.001497/0.001497, allocations: 194.4 kB / 376.9 MB, free: 1.812 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.659/1.659, allocations: 205.1 MB / 0.6354 GB, free: 9.789 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 98.75 kB / 0.748 GB, free: 61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001062/0.001062, allocations: 51.92 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3045, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.004038/0.3086, allocations: 2.211 MB / 0.9844 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00206/0.3107, allocations: 1.061 MB / 0.9854 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002213/0.3109, allocations: 11.88 kB / 0.9854 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 7.806e-05/0.3111, allocations: 15.84 kB / 0.9854 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004337/0.3115, allocations: 63.42 kB / 0.9855 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005122/0.312, allocations: 155.7 kB / 0.9857 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004065/0.3124, allocations: 274.9 kB / 0.9859 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001956/0.3127, allocations: 60.7 kB / 0.986 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.3128, allocations: 103.5 kB / 0.9861 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002713/0.3131, allocations: 139.3 kB / 0.9862 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.705e-05/0.3132, allocations: 12 kB / 0.9862 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000471/0.3136, allocations: 287.7 kB / 0.9865 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.67e-05/0.3137, allocations: 39.77 kB / 0.9865 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.3138, allocations: 111.3 kB / 0.9866 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003776/0.3142, allocations: 323.1 kB / 0.9869 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3142, allocations: 0 / 0.9869 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3142, allocations: 0 / 0.9869 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.3142, allocations: 0 / 0.9869 GB, free: 5.504 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001112/0.3154, allocations: 0.6272 MB / 0.9876 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.3154, allocations: 19.89 kB / 0.9876 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00021/0.3156, allocations: 36.56 kB / 0.9876 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.3159, allocations: 271.6 kB / 0.9879 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.316, allocations: 8.656 kB / 0.9879 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/0.316, allocations: 24.06 kB / 0.9879 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005225/0.3165, allocations: 232.2 kB / 0.9881 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3166, allocations: 0 / 0.9881 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.3166, allocations: 7.938 kB / 0.9881 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.3166, allocations: 8 kB / 0.9881 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006419/0.3173, allocations: 199.7 kB / 0.9883 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.3184, allocations: 0.9384 MB / 0.9892 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007542/0.3192, allocations: 249.1 kB / 0.9895 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003247/0.3195, allocations: 105.6 kB / 0.9896 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.3196, allocations: 8.297 kB / 0.9896 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.3196, allocations: 38.55 kB / 0.9896 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.542e-06/0.3196, allocations: 0 / 0.9896 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.001164/0.3208, allocations: 337.1 kB / 0.99 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.3209, allocations: 77.11 kB / 0.99 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.3211, allocations: 266.9 kB / 0.9903 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.3212, allocations: 33.7 kB / 0.9903 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.3213, allocations: 164.1 kB / 0.9905 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.951e-05/0.3213, allocations: 43.27 kB / 0.9905 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.3214, allocations: 45.7 kB / 0.9906 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3216, allocations: 330.8 kB / 0.9909 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003207/0.3219, allocations: 95.91 kB / 0.991 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003542/0.3223, allocations: 149 kB / 0.9911 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006642/0.3229, allocations: 241.7 kB / 0.9913 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.323, allocations: 7.938 kB / 0.9913 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008242/0.3238, allocations: 293 kB / 0.9916 GB, free: 408 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.3238, allocations: 8 kB / 0.9916 GB, free: 400 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3238, allocations: 0 / 0.9916 GB, free: 400 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.3239, allocations: 7.984 kB / 0.9916 GB, free: 392 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002942/0.3242, allocations: 63.89 kB / 0.9917 GB, free: 328 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.3242, allocations: 96 / 0.9917 GB, free: 328 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.3244, allocations: 47.69 kB / 0.9917 GB, free: 280 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.3245, allocations: 12.05 kB / 0.9918 GB, free: 268 kB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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.0001482/0.3246, allocations: 141.7 kB / 0.9919 GB, free: 116 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.3247, allocations: 23.72 kB / 0.9919 GB, free: 92 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008594/0.3256, allocations: 295.9 kB / 0.9922 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.3256, allocations: 0 / 0.9922 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3256, allocations: 4 kB / 0.9922 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3256, allocations: 0 / 0.9922 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003624/0.326, allocations: 297.2 kB / 0.9925 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.326, allocations: 0 / 0.9925 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.3263, allocations: 59.94 kB / 0.9925 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.3263, allocations: 0 / 0.9925 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.3263, allocations: 4 kB / 0.9925 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3263, allocations: 4 kB / 0.9925 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3263, allocations: 3.938 kB / 0.9925 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.3278, allocations: 1.123 MB / 0.9936 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.888e-05/0.3279, allocations: 104.7 kB / 0.9937 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.744e-05/0.328, allocations: 8 kB / 0.9938 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.3283, allocations: 27.95 kB / 0.9938 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.918e-05/0.3283, allocations: 23.91 kB / 0.9938 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.3284, allocations: 4 kB / 0.9938 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001891/0.3286, allocations: 190 kB / 0.994 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.3286, allocations: 0 / 0.994 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004514/0.329, allocations: 60.19 kB / 0.994 GB, free: 13.77 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0002543/0.3293, allocations: 119.2 kB / 0.9942 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007591/0.3301, allocations: 232 kB / 0.9944 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3301, allocations: 0 / 0.9944 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003567/0.3304, allocations: 119.8 kB / 0.9945 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006177/0.3311, allocations: 60.91 kB / 0.9946 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008935/0.332, allocations: 0.6778 MB / 0.9952 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.3323, allocations: 0.7519 MB / 0.9959 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001427/0.3324, allocations: 34.27 kB / 0.996 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.87e-05/0.3325, allocations: 27.38 kB / 0.996 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/0.3325, allocations: 0 / 0.996 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of Templates: time 0.007602/0.3401, allocations: 3.666 MB / 0.9996 GB, free: 8.082 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)