Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7634/0.7634, allocations: 143.4 MB / 159.2 MB, free: 4.828 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001167, allocations: 187.6 kB / 191.9 MB, free: 5.688 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 447.4 MB, free: 5.844 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 115.2 kB / 0.517 GB, free: 3.691 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001861/0.001861, allocations: 283.2 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 80.31 kB / 0.6886 GB, free: 3.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3077, allocations: 81.29 MB / 0.7679 GB, free: 27.67 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002556/0.3103, allocations: 2.166 MB / 0.7701 GB, free: 25.5 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.3116, allocations: 1.075 MB / 0.7711 GB, free: 24.41 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.027e-05/0.3117, allocations: 7.938 kB / 0.7711 GB, free: 24.41 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 4.86e-05/0.3118, allocations: 11.86 kB / 0.7711 GB, free: 24.39 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.312, allocations: 75.41 kB / 0.7712 GB, free: 24.32 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.3123, allocations: 139.8 kB / 0.7713 GB, free: 24.18 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001962/0.3125, allocations: 282.8 kB / 0.7716 GB, free: 23.91 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.3126, allocations: 63.36 kB / 0.7717 GB, free: 23.85 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.383e-05/0.3127, allocations: 95.58 kB / 0.7718 GB, free: 23.75 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.3129, allocations: 143.3 kB / 0.7719 GB, free: 23.61 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.935e-05/0.3129, allocations: 12 kB / 0.7719 GB, free: 23.6 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003006/0.3132, allocations: 287.6 kB / 0.7722 GB, free: 23.32 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 3.116e-05/0.3133, allocations: 39.78 kB / 0.7722 GB, free: 23.28 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 7.26e-05/0.3133, allocations: 119.2 kB / 0.7723 GB, free: 23.16 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.3136, allocations: 314.9 kB / 0.7726 GB, free: 22.86 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.3136, allocations: 0 / 0.7726 GB, free: 22.86 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.3136, allocations: 0 / 0.7726 GB, free: 22.86 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.3136, allocations: 0 / 0.7726 GB, free: 22.86 MB / 458.7 MB 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.0009114/0.3145, allocations: 0.6233 MB / 0.7732 GB, free: 22.18 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.3146, allocations: 8.031 kB / 0.7732 GB, free: 22.17 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001901/0.3148, allocations: 40.56 kB / 0.7733 GB, free: 22.13 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.315, allocations: 275.5 kB / 0.7735 GB, free: 21.83 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.315, allocations: 12.64 kB / 0.7736 GB, free: 21.82 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.3151, allocations: 16.38 kB / 0.7736 GB, free: 21.8 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004404/0.3155, allocations: 237.4 kB / 0.7738 GB, free: 21.55 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.3155, allocations: 0 / 0.7738 GB, free: 21.55 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.3155, allocations: 4 kB / 0.7738 GB, free: 21.54 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.3156, allocations: 4 kB / 0.7738 GB, free: 21.54 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005933/0.3162, allocations: 203.7 kB / 0.774 GB, free: 21.34 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008507/0.317, allocations: 0.9462 MB / 0.7749 GB, free: 20.32 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006816/0.3177, allocations: 237.2 kB / 0.7752 GB, free: 20.07 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003254/0.3181, allocations: 105.6 kB / 0.7753 GB, free: 19.96 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.3181, allocations: 7.938 kB / 0.7753 GB, free: 19.96 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.537e-05/0.3181, allocations: 38.5 kB / 0.7753 GB, free: 19.91 MB / 458.7 MB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/0.3181, allocations: 4 kB / 0.7753 GB, free: 19.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=16): time 0.001067/0.3192, allocations: 337.4 kB / 0.7756 GB, free: 19.57 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.3192, allocations: 81.05 kB / 0.7757 GB, free: 19.47 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.3194, allocations: 267 kB / 0.776 GB, free: 19.21 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.3194, allocations: 25.7 kB / 0.776 GB, free: 19.18 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.177e-05/0.3195, allocations: 164.1 kB / 0.7761 GB, free: 19.01 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.3195, allocations: 51.2 kB / 0.7762 GB, free: 18.96 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-05/0.3196, allocations: 41.7 kB / 0.7762 GB, free: 18.91 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.041e-05/0.3197, allocations: 338.8 kB / 0.7765 GB, free: 18.57 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002954/0.32, allocations: 95.91 kB / 0.7766 GB, free: 18.48 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003027/0.3203, allocations: 144.3 kB / 0.7768 GB, free: 18.32 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005735/0.3209, allocations: 241.7 kB / 0.777 GB, free: 18.06 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3209, allocations: 0 / 0.777 GB, free: 18.06 MB / 458.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007186/0.3216, allocations: 289.6 kB / 0.7773 GB, free: 17.77 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3216, allocations: 11.98 kB / 0.7773 GB, free: 17.76 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.3216, allocations: 0 / 0.7773 GB, free: 17.76 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3216, allocations: 4 kB / 0.7773 GB, free: 17.76 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.3219, allocations: 64.05 kB / 0.7774 GB, free: 17.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3219, allocations: 0 / 0.7774 GB, free: 17.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.3221, allocations: 47.7 kB / 0.7774 GB, free: 17.65 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.3222, allocations: 8 kB / 0.7774 GB, free: 17.64 MB / 458.7 MB 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 8.042e-05/0.3223, allocations: 134.6 kB / 0.7775 GB, free: 17.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.877e-05/0.3224, allocations: 27.66 kB / 0.7776 GB, free: 17.47 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007167/0.3231, allocations: 295.2 kB / 0.7779 GB, free: 17.17 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3231, allocations: 4 kB / 0.7779 GB, free: 17.17 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.3231, allocations: 4 kB / 0.7779 GB, free: 17.16 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.3231, allocations: 3.984 kB / 0.7779 GB, free: 17.16 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/0.3234, allocations: 297.3 kB / 0.7781 GB, free: 16.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3234, allocations: 3.938 kB / 0.7782 GB, free: 16.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/0.3236, allocations: 51.95 kB / 0.7782 GB, free: 16.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3237, allocations: 0 / 0.7782 GB, free: 16.77 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.3237, allocations: 4 kB / 0.7782 GB, free: 16.76 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3237, allocations: 4 kB / 0.7782 GB, free: 16.76 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3237, allocations: 4 kB / 0.7782 GB, free: 16.75 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.3248, allocations: 1.127 MB / 0.7793 GB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.601e-05/0.3249, allocations: 104.8 kB / 0.7794 GB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.3249, allocations: 7.984 kB / 0.7794 GB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/0.3252, allocations: 27.97 kB / 0.7794 GB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.534e-05/0.3253, allocations: 19.97 kB / 0.7795 GB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.3253, allocations: 4 kB / 0.7795 GB, free: 15.39 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001199/0.3254, allocations: 193.9 kB / 0.7797 GB, free: 15.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3254, allocations: 0 / 0.7797 GB, free: 15.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004242/0.3258, allocations: 55.91 kB / 0.7797 GB, free: 15.15 MB / 458.7 MB 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.0001685/0.326, allocations: 119.4 kB / 0.7798 GB, free: 15.02 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006519/0.3267, allocations: 227.7 kB / 0.78 GB, free: 14.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3267, allocations: 0 / 0.78 GB, free: 14.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003125/0.327, allocations: 124.7 kB / 0.7802 GB, free: 14.68 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005739/0.3276, allocations: 74.59 kB / 0.7802 GB, free: 14.61 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006804/0.3283, allocations: 0.6748 MB / 0.7809 GB, free: 13.89 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/0.3284, allocations: 0.7519 MB / 0.7816 GB, free: 13.11 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001411/0.3286, allocations: 34.27 kB / 0.7817 GB, free: 13.08 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.586e-05/0.3286, allocations: 19.44 kB / 0.7817 GB, free: 13.06 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3286, allocations: 0 / 0.7817 GB, free: 13.06 MB / 458.7 MB Notification: Performance of Templates: time 0.00575/0.3344, allocations: 3.68 MB / 0.7853 GB, free: 9.457 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)